View Source Seqy.Handler behaviour (seqy v0.1.0)

Use this module to define a handler.

A handler should implement the handle/1 callback.

Link to this section Summary

Link to this section Callbacks

@callback handle(
  event :: %Seqy.Event{
    action: term(),
    args: term(),
    id: term(),
    queue_id: term(),
    topic: term()
  }
) :: any()