Chronicle.Auditing.CausationType (cratis_chronicle v1.0.1)

Copy Markdown View Source

Identifies the kind of operation that caused an event append.

Summary

Functions

Causation type for single-event append operations.

Causation type for multi-event append operations.

Creates a new causation type wrapper.

Root causation type.

Causation type for transactional event sequence appends.

Unknown causation type.

Types

t()

@type t() :: %Chronicle.Auditing.CausationType{value: String.t()}

Functions

append_event()

@spec append_event() :: t()

Causation type for single-event append operations.

append_many_events()

@spec append_many_events() :: t()

Causation type for multi-event append operations.

new(value)

@spec new(String.t()) :: t()

Creates a new causation type wrapper.

root()

@spec root() :: t()

Root causation type.

transactional_event_sequence()

@spec transactional_event_sequence() :: t()

Causation type for transactional event sequence appends.

unknown()

@spec unknown() :: t()

Unknown causation type.