WorkflowInstance
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10172
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new WorkflowInstance():
WorkflowInstance
Returns
Section titled “Returns”WorkflowInstance
Properties
Section titled “Properties”id:
string
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10173
Methods
Section titled “Methods”pause()
Section titled “pause()”pause():
Promise<void>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10177
Pause the instance.
Returns
Section titled “Returns”Promise<void>
restart()
Section titled “restart()”restart():
Promise<void>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10189
Restart the instance.
Returns
Section titled “Returns”Promise<void>
resume()
Section titled “resume()”resume():
Promise<void>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10181
Resume the instance. If it is already running, an error will be thrown.
Returns
Section titled “Returns”Promise<void>
sendEvent()
Section titled “sendEvent()”sendEvent(
__namedParameters):Promise<void>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10197
Send an event to this instance.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”payload
Section titled “payload”unknown
string
Returns
Section titled “Returns”Promise<void>
status()
Section titled “status()”status():
Promise<InstanceStatus>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10193
Returns the current status of the instance.
Returns
Section titled “Returns”Promise<InstanceStatus>
terminate()
Section titled “terminate()”terminate():
Promise<void>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:10185
Terminate the instance. If it is errored, terminated or complete, an error will be thrown.
Returns
Section titled “Returns”Promise<void>