API reference
python:irx:irx.builder.state.CleanupAction
class CleanupAction
CleanupAction(emitter: CleanupEmitter, owner_symbol_id: str | None = None, kind: CleanupKind = CleanupKind.RESOURCE, fallible: bool = True)
Source: packages/irx/src/irx/builder/state.py:31
One active cleanup emitter with optional semantic owner identity.
Infallible actions neither install a pending exception nor transfer control; only audited native free/release operations use that contract.
Attributes
-
emitter — Type: CleanupEmitter
-
owner_symbol_id — Type: str | None
-
kind — Type: CleanupKind
-
fallible — Type: bool
Methods
- __init__ —