@wpkernel/pipeline / abandon
Function: abandon()
ts
function abandon<TNodes, TOutputs, TEffects>(options): AbandonResult<TEffects>;Consumes one live suspension and compensates its journal exactly once.
Compensation is non-cancellable, runs in reverse logical journal order and continues after failure. It is process-local remediation, not a durable rollback guarantee.
Type Parameters
TNodes
TNodes extends Readonly<Record<string, NodeContract<string, GraphValue, unknown, string>>>
TOutputs
TOutputs extends Readonly<Record<string, GraphValue>>
TEffects
TEffects extends Readonly<Record<string, EffectContract<GraphValue, unknown, unknown, unknown>>>
Parameters
options
AbandonOptions<TNodes, TOutputs, TEffects>
Live suspension to abandon.
Returns
AbandonResult<TEffects>
An abandonment outcome retaining every cleanup failure.
Throws
When the token is foreign, copied or spent.
