(dispatcher)
Create and return Flux dispatcher instance
Create and return Flux dispatcher instance
(-invoke-callback this id)
Invoke the registered callback.
Invoke the registered callback.
(dispatch this payload)
Dispatches a payload to all registered callbacks
Dispatches a payload to all registered callbacks
(register this callback)
Registers a callback to be invoked with every dispatched payload. Returns
a token that can be used with wait-for
.
Registers a callback to be invoked with every dispatched payload. Returns a token that can be used with `wait-for`.
(unregister this id)
Removes a callback based on its token.
Removes a callback based on its token.
(wait-for this ids)
Waits for the callbacks specified to be invoked before continuing execution.
Waits for the callbacks specified to be invoked before continuing execution.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close