PipedreamHQ / PipedreamHQ/pipedream

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

Open
#2,853 0 comments 0 reactions 0 assignees View on GitHub
docs enhancement
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

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

```javascript
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.