EventObservable
An implementation of Observable that emits updates to its observers when triggered manually via the emit method. The observed value is always Unit. A standard it.unibo.alchemist.model.observation.MutableObservable of Unit is not the answer to an observable emitter, because of observable idempotency.
This class allows multiple observers to register for notifications, and provides the ability to manually emit updates to those observers.
Functions
Retrieves the current value of the observable if present, or null if no value is available.
Maps the current value of this Observable to an inner observable through transform, and mirrors the inner observable of the most recent value only: whenever this observable emits, the previous inner observable is unsubscribed and the new one is followed.