Skip to content

js-bao-wss-client


js-bao-wss-client / FunctionStartResult

Interface: FunctionStartResult ​

What functions.start answers: the id of the task run it started, which functions.getStatus and functions.waitFor take.

Properties ​

error? ​

optional error?: string


existing? ​

optional existing?: boolean

Present on a REPLAY — a repeated runKey names the run that already exists.


instanceId ​

instanceId: string


output? ​

optional output?: unknown


runId ​

runId: string


runKey ​

runKey: string


status ​

status: string

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30