Once the :on-event node becomes :running, it will be able to pick an incoming event. When it does, it will execute its child, succeeding or failing according to the child's result.
Parameters:
Once the :on-event node becomes :running, it will be able to pick an incoming event. When it does, it will execute its child, succeeding or failing according to the child's result. Parameters: - :event : A keyword, or keyword returning context function. The name of the event to pick. - :pick? : A context function with two parameters. first the tree context, then the event argument being considered. This acts as an additional filter when considering incoming events to be picked. The event will be picked if this function returns a truthy value. - :bind-arg : the keyword name of the var to which the event argument will be bound.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close