(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 is a website building & hosting documentation for Clojure/Script libraries
× close