GenericExecutor behaviour (tellurium v0.7.0) View Source
Implements generic behaviour for message executors
Link to this section Summary
Callbacks
Decode message payload from MessageToHandle.
Extract handler function path (name) from the message.
It's called when handler return (optional).
Link to this section Types
Link to this section Functions
Link to this section Callbacks
Specs
decode(MessageToHandle.t()) :: parsed_payload()
Decode message payload from MessageToHandle.
Specs
get_handler_path(MessageToHandle.t(), parsed_payload()) :: String.t()
Extract handler function path (name) from the message.
Specs
on_post_process(handler_response(), MessageToHandle.t()) :: any()
It's called when handler return (optional).