Queueable requests a source pause when at capacity by signaling via the enqueue return Boolean, but provides no way for a source to be notified when it can start sending data again.
the default observable.enqueue method simply requests a scheduler yield which works for some use cases such as a hot producer, but doesn’t work for the pauseable observable use case
fixed by changing dispatcher to implement EventEmitter. We can extend this later by providing a way to turn a pauseableObservable into an DispatcherEventListener.
Queueable requests a source pause when at capacity by signaling via the enqueue return Boolean, but provides no way for a source to be notified when it can start sending data again.
the default observable.enqueue method simply requests a scheduler yield which works for some use cases such as a hot producer, but doesn’t work for the pauseable observable use case