The durable decision returned when a run awaits an event.
When should_suspend is true, the database has put the run to sleep and the
runner must stop without completing or failing it. Otherwise payload is the
resolved event value, or nil for an elapsed timeout.
Summary
Types
@type t() :: %Absurd.EventWait{ payload: Absurd.JSON.value() | nil, should_suspend: boolean() }
An event wait decision returned by the upstream SQL protocol.