Skip to content

js-bao-wss-client


js-bao-wss-client / FunctionRunStatus

Interface: FunctionRunStatus<TOutput> ​

What functions.getStatus answers.

Type Parameters ​

TOutput ​

TOutput = unknown

Properties ​

error? ​

optional error?: FunctionRunError

Present when the run failed.


output? ​

optional output?: TOutput


outputTruncated? ​

optional outputTruncated?: true

Present only when the platform could store a PREVIEW of the output rather than the whole value. output is then truncated, not the run's result.


run? ​

optional run?: FunctionRun


slice? ​

optional slice?: WorkflowStatusSlice


status ​

status: FunctionRunStatusValue

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