Skip to content

Note that the conditions in which the Delay action vs. a JavaScript sleep are appropriate #2853

Open
@dylburger

Description

@dylburger

e.g. if you're just delaying your workflow for 1 second, use:

await new Promise(r => setTimeout(r, 1000));

if you're using multiple, short delays, that may also be more appropriate, since you'll incur invocations on each resumption of the workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions