PipedreamHQ / PipedreamHQ/pipedream
Note that the conditions in which the Delay action vs. a JavaScript sleep are appropriate
Open
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
Assessment
This issue has not been assessed yet.