if I have a JavaFX property and I create an event stream from this property:
EventStreams.nonNullValuesOf(node.boundsInParentProperty())
Is there a possibility to set the source (in this case the "node") at creation time or to get this object later in a subscription?
For example:
EventStream<...> stream = EventStreams.nonNullValuesOf(node.boundsInParentProperty());
...
stream.subscribe((node, bounds) -> ...);
or at creation time:
EventStream<...> stream = EventStreams.valueAndSource(node.boundsInParentProperty(), node);