greyhound v0.1.0 Greyhound.Middleware.Dispatch.Local
Dispatches events on the local node.
When called, this middleware will look up all listeners for the dispatched
topic and send {:perform, topic, message} sequentially to each listener.
This is the default middleware provided by Greyhound.Bus.
Link to this section Summary
Functions
Process an event
Link to this section Functions
Link to this function
call(event, opts)
Process an event.
Receives a %Greyhound.Event{} struct as the first argument. The list of
options provided when the bus was started is passed as the second argument.
Callback implementation for Greyhound.Middleware.call/2.