Cizen v0.12.5 Cizen.Event View Source

Helpers to handle events

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Cizen.Event{
  body: body(),
  id: Cizen.EventID.t(),
  source_saga: Cizen.Saga.t() | nil,
  source_saga_id: Cizen.SagaID.t() | nil
}

Link to this section Functions

Link to this function new(saga_id, body) View Source
new(Cizen.SagaID.t() | nil, body()) :: t()
Link to this function type(event) View Source
type(t()) :: Cizen.EventType.t()