Liking cljdoc? Tell your friends :D

re-frame.router


dispatchclj/s

(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])
sourceraw docstring

dispatch-syncclj/s

(dispatch-sync event-v)

Sychronously (immediately!) 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 (immediately!) 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])
sourceraw docstring

event-queueclj/s

source

IEventQueueclj/sprotocol

-run-queueclj/s

(-run-queue this)

remove-post-event-callbackclj/s

(remove-post-event-callback this f)

-add-eventclj/s

(-add-event this event)

-resumeclj/s

(-resume this)

pushclj/s

(push this event)

-run-next-tickclj/s

(-run-next-tick this)

-fsm-triggerclj/s

(-fsm-trigger this trigger arg)

-pauseclj/s

(-pause this later-fn)

add-post-event-callbackclj/s

(add-post-event-callback this id callack)

-process-1st-event-in-queueclj/s

(-process-1st-event-in-queue this)

-call-post-event-callbacksclj/s

(-call-post-event-callbacks this event)

-exceptionclj/s

(-exception this ex)
source

later-fnsclj/s

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close