Skuld.Coroutine.Cancelled (skuld v0.30.0)
View SourceFiber that was cancelled before completion.
Env semantics
env is the environment after leave_scope cleanup ran. It may be
nil if the fiber was cancelled from Pending (no scopes entered yet).
For fibres cancelled from a suspended state, env reflects the state
after all scoped cleanup handlers have executed.
Summary
Types
@type t() :: %Skuld.Coroutine.Cancelled{ env: Skuld.Comp.Env.t() | nil, id: term(), reason: term() }