StartStreamOptions
Bridge-local correlation id for one streaming run.
Not a contract field, and never placed inside the TaskRequest: runId stays the
engine’s to mint. startStream resolves only after the engine has minted one, so
keying the JS-side event sink on runId would leave a window in which native can
emit events for a run JS has not yet heard of. The streamId is generated before
the call instead, which lets the sink be bound first and makes cancel()
well-defined even before a handle exists.
Properties
Section titled “Properties”request
Section titled “request”request:
TaskRequest
streamId
Section titled “streamId”streamId:
string
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