I'm trying to interact with `javafx.scene.Node`'s ...
# getting-started
b
I'm trying to interact with `javafx.scene.Node`'s
public void snapshot(Callback<SnapshotResult, Void> callback, SnapshotParameters params, WritableImage image)
. However, since
Callback
is expected to return
java.lang.Void
... what do I do? Kotlin is upset because I'm returning
Unit
, but
Void
cannot be instantiated