WorkflowStep
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:9467
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new WorkflowStep():
WorkflowStep
Returns
Section titled “Returns”WorkflowStep
Properties
Section titled “Properties”sleep()
Section titled “sleep()”sleep: (
name,duration) =>Promise<void>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:9477
Parameters
Section titled “Parameters”string
duration
Section titled “duration”Returns
Section titled “Returns”Promise<void>
sleepUntil()
Section titled “sleepUntil()”sleepUntil: (
name,timestamp) =>Promise<void>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:9478
Parameters
Section titled “Parameters”string
timestamp
Section titled “timestamp”number | Date
Returns
Section titled “Returns”Promise<void>
Methods
Section titled “Methods”Call Signature
Section titled “Call Signature”do<
T>(name,callback):Promise<T>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:9468
Type Parameters
Section titled “Type Parameters”T extends Serializable<T>
Parameters
Section titled “Parameters”string
callback
Section titled “callback”() => Promise<T>
Returns
Section titled “Returns”Promise<T>
Call Signature
Section titled “Call Signature”do<
T>(name,config,callback):Promise<T>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:9472
Type Parameters
Section titled “Type Parameters”T extends Serializable<T>
Parameters
Section titled “Parameters”string
config
Section titled “config”callback
Section titled “callback”() => Promise<T>
Returns
Section titled “Returns”Promise<T>
waitForEvent()
Section titled “waitForEvent()”waitForEvent<
T>(name,options):Promise<WorkflowStepEvent<T>>
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:9479
Type Parameters
Section titled “Type Parameters”T extends Serializable<T>
Parameters
Section titled “Parameters”string
options
Section titled “options”timeout?
Section titled “timeout?”string
Returns
Section titled “Returns”Promise<WorkflowStepEvent<T>>