Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove then-sleep dev dependency #214

Merged
merged 1 commit into from
Jun 23, 2023
Merged

remove then-sleep dev dependency #214

merged 1 commit into from
Jun 23, 2023

Conversation

Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Jun 23, 2023

Why use a package if we can use native promises and it is basically a three liner.

Checklist

@Uzlopak Uzlopak merged commit f0b5949 into master Jun 23, 2023
@Uzlopak Uzlopak deleted the remove-then-sleep branch June 23, 2023 22:19
@voxpelli
Copy link

And from Node.js v15 this is even built into Node.js: https://nodejs.org/api/timers.html#timerspromisessettimeoutdelay-value-options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants