(dispatch event)
Queue the given event for processing by the registered event handler.
Just to be clear: the event handler is not run immediately - it is not run synchronously. It will likely be run 'very soon', although it may be added to the end of a FIFO queue which already contain events.
Usage: (dispatch [:delete-item 42])
Queue the given event for processing by the registered event handler. Just to be clear: the event handler is not run immediately - it is not run synchronously. It will likely be run 'very soon', although it may be added to the end of a FIFO queue which already contain events. Usage: (dispatch [:delete-item 42])
(dispatch-sync event-v)
Sychronously (immediaetly!) process the given event using the registered handler.
Generally, you shouldn't use this - you should use dispatch
instead. It
is an error to use dispatch-sync
within an event handler.
Usage: (dispatch-sync [:delete-item 42])
Sychronously (immediaetly!) process the given event using the registered handler. Generally, you shouldn't use this - you should use `dispatch` instead. It is an error to use `dispatch-sync` within an event handler. Usage: (dispatch-sync [:delete-item 42])
(-run-queue this)
(remove-post-event-callback this f)
(-add-event this event)
(-resume this)
(push this event)
(-run-next-tick this)
(-fsm-trigger this trigger arg)
(-pause this later-fn)
(add-post-event-callback this id callack)
(-process-1st-event-in-queue this)
(-call-post-event-callbacks this event)
(-exception this ex)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close