API reference

python:irx:irx.builder.state.PendingReturn

class PendingReturn

PendingReturn(actions: tuple[CleanupEmitter, ...], exception_targets: tuple[ExceptionTarget, ...], loops: tuple[LoopTargets, ...], restore_depth: int | None = None)

Source: packages/irx/src/irx/builder/state.py:91

Owned result and lexical boundaries of a suspended return.

Restore an affine source binding when cancellation stays inside its scope; otherwise release the abandoned result. Nested candidates remain independent until an actual return commits.

Attributes

Methods

Attributes

Search documentation

Type to search.