A akka.stream.scaladsl.Sink that sends all values to a scalafx.beans.property.Property.
A akka.stream.scaladsl.Sink that sends all values to a scalafx.beans.property.Property.
Each event that's written into the Sink
will trigger an update of the
Property
with the streamed value.
A akka.stream.scaladsl.Source that generates an event for each change of an scalafx.beans.value.ObservableValue.
A akka.stream.scaladsl.Source that generates an event for each change of an scalafx.beans.value.ObservableValue.
This source adds an onChange
handler to the given ObservableValue
.
Each time it observes a change, the new value is pushed from the
Source
. The change handler is registered as soon as the source is
materialized into a graph. It should be safe to use a single source
in several graphs, as each will register its own change listener upon
materialization.
The value to observe.
The maximum number of values to queue while waiting for the downstream flow to consume more data.
What to do when the queue is full because the downstream flow cannot keep up. The default behavior is to block, slowing the UI's main thread until some events are consumed, freeing space in the queue.
A master object that exposes all the Akka-ScalaFX bridges.