API reference
python:irx:irx.analysis.resolved_nodes.CursorProtocol
class CursorProtocol
Source: packages/irx/src/irx/analysis/resolved_nodes.py:1706
Closed acquisition, advancement, and finalization protocols.
Indexed and range values acquire independent positions. Generator acquisition consumes a one-shot frame, rejecting reacquisition. Advance distinguishes a produced item from exhaustion and checks failure before reading output slots. Close is idempotent and runs on every cursor exit; generator close prevents resumption without freeing its lexical owner.