StreamRun
What IndeRun.stream() returns: the run’s identity, its canonical event
sequence, and a cancel hook.
events terminates in exactly one terminal StreamEvent, per the Event
Gate’s guarantee, and is single-use — the run is driven once, not restarted
per consumer. cancel() is idempotent: repeated or concurrent calls produce
exactly one cancelled terminal outcome.
Properties
Section titled “Properties”events
Section titled “events”events:
AsyncIterable<StreamEvent>
handle
Section titled “handle”handle:
StreamRunHandle
Methods
Section titled “Methods”cancel()
Section titled “cancel()”cancel(
reason?):void
Parameters
Section titled “Parameters”reason?
Section titled “reason?”string
Returns
Section titled “Returns”void
IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · No SDK usage telemetry.
© 2025–2026 Independo GmbH