automata/event/match

Values

pub fn has_causation_id(event event: event.Event(body)) -> Bool
pub fn has_correlation_id(event event: event.Event(body)) -> Bool
pub fn has_source_kind(
  event event: event.Event(body),
  kind kind: source.SourceKind,
) -> Bool

Body-agnostic predicates and routing helpers.

For body-shape predicates, see automata/event/builtin/match. Native Gleam case is the preferred mechanism for matching event bodies; this module only covers source/metadata level routing.

pub fn has_trace_id(event event: event.Event(body)) -> Bool
Search Document