Cizen.Event (Cizen v0.17.0) View Source

Helpers to handle events

Link to this section Summary

Link to this section Types

Specs

body() :: struct()

Specs

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

Specs

new(Cizen.SagaID.t() | nil, body()) :: t()

Specs

type(t()) :: Cizen.EventType.t()