event v0.1.0 Event.Sink behaviour
Final stage in an Event processing chain. Receives events from an Event.Source or Event.Processor and performs any final processing on them.
Link to this section Summary
Functions
Send a message to the event processor and await a response
Send an asynchronous message to the event processor
Handle a code change
Handle a synchronous event notification
Handle an asynchronous event notification
Handle incoming events
Handle an incoming message
Handle a subscription
Initialize event processor state
Start an EventSink process
Handle process termination
Link to this section Types
Link to this section Functions
Send a message to the event processor and await a response.
Send an asynchronous message to the event processor
Handle a code change
Handle a synchronous event notification
Handle an asynchronous event notification
Handle incoming events
Handle an incoming message
Handle a subscription
Initialize event processor state
Start an EventSink process.
Handle process termination
Link to this section Callbacks
handle_call(request :: term(), from :: GenServer.from(), state :: term()) :: {:reply, reply, new_state} | {:reply, reply, [event], new_state} | {:reply, reply, [event], new_state, :hibernate} | {:noreply, new_state} | {:noreply, [event], new_state} | {:noreply, [event], new_state, :hibernate} | {:stop, reason, reply, new_state} | {:stop, reason, new_state} when reply: term(), new_state: term(), reason: term(), event: term()