clojusc.mesomatic.examples.exception-only.framework
framework-info-map
Documentation forthcoming
handle-msg
multimethod
This is a custom multimethod for handling messages that are received on the async scheduler channel.
Note that:
- though the methods are associated with types whose names match the scheduler API, these functions and those are quite different and do not accept the same parameters
- each handler’s callback (below) only takes two parameters:
- state that gets passed to successive calls (if returned by the handler)
- the payload that is sent to the async channel by the scheduler API
- as such, if there is something in a message which you would like to persist or have access to in other functions, you’ll need to assoc it to state.
limits
Documentation forthcoming
run
(run master)
This is the function that actually runs the framework.