The event maps keep the events coming in from the outside world and going out to it.
The event maps keep the events coming in from the outside world and going out to it.
(add-event-out events event-name event-arg)
Adds an event that will later be consumed by the library user
Adds an event that will later be consumed by the library user
(clear-event-in events)
Clears the inbound event.
Clears the inbound event.
(clear-events-out events)
Clears all the outbound events
Clears all the outbound events
(get-event-in events)
Returns the inbound event
Returns the inbound event
(get-events-out events)
Returns all the events from tree to user
Returns all the events from tree to user
(pick-event events event-name)
(pick-event events event-name pick-event?)
Returns the event-in if it exists, and the name matches. The optional pick-event? function takes the event arg and returns true if the event should be picked.
Returns the event-in if it exists, and the name matches. The optional pick-event? function takes the event arg and returns true if the event should be picked.
(set-event-in events event-name event-arg)
Sets the inbound event
Sets the inbound event
(update-events-out events func)
Updates the events for user consumptions with the provided function
Updates the events for user consumptions with the provided function
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close