(dispatch event-v)
Send an event to be processed by the registered handler.
Usage example: (dispatch [:delete-item 42])
Send an event to be processed by the registered handler. Usage example: (dispatch [:delete-item 42])
(dispatch-sync event-v)
Send an event to be processed by the registered handler, but avoid the async-inducing use of core.async/chan.
Usage example: (dispatch-sync [:delete-item 42])
Send an event to be processed by the registered handler, but avoid the async-inducing use of core.async/chan. Usage example: (dispatch-sync [:delete-item 42])
(purge-chan)
read all pending events from the channel and drop them on the floor
read all pending events from the channel and drop them on the floor
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |