Skip to content

js-bao-wss-client


js-bao-wss-client / WorkflowDefineOptions

Interface: WorkflowDefineOptions<O> ​

Options for defining a workflow via workflows.define()

Type Parameters ​

O ​

O = unknown

Properties ​

onApply ​

onApply: WorkflowApplyHandler<O>

Handler to apply workflow results to the document. Called automatically when this workflow completes with needsApply.

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