(apply-transitive-coeffects? default-transitive-coeffects?
{transitive-coeffects?
schema/a-frame-event-transitive-coeffects?
:as _event-options})
an interceptor which will execute all effects from the :a-frame/effects key of the interceptor context
an interceptor which will execute all effects from the :a-frame/effects key of the interceptor context
(do-single-effect context fx-id fx-data)
return a promise of the result of the effect
return a promise of the result of the effect
(reg-fx id handler)
register an fx which will be called with: (<fx-handler> app fx-data)
register an fx which will be called with: (<fx-handler> app fx-data)
(reg-fx-ctx id handler)
register an fx which will be called with: (<fx-handler> ctx fx-data)
note that the fx-handler will receive the interceptor ctx, so can access values from the ctx (e.g. to dispatch to the event-stream), but it cannot modify the ctx
register an fx which will be called with: (<fx-handler> ctx fx-data) note that the fx-handler will receive the interceptor ctx, so can access values from the ctx (e.g. to dispatch to the event-stream), but it cannot modify the ctx
(xev-with-all-coeffects {ctx-coeffects schema/a-frame-coeffects :as _context}
default-transitive-coeffects?
event-or-event-options)
take coeffects from the context and merge with any specified on the event to give the final coeffects
take coeffects from the context and merge with any specified on the event to give the final coeffects
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close