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

Support waiting until date #52

Closed
Richienb opened this issue Aug 16, 2020 · 1 comment
Closed

Support waiting until date #52

Richienb opened this issue Aug 16, 2020 · 1 comment

Comments

@Richienb
Copy link
Contributor

Richienb commented Aug 16, 2020

It would be useful if delay allowed waiting until a specific date. This is useful for timers, schedulers and cron jobs.

const delay = require('delay');

await delay.date(date)

// @sindresorhus

@sindresorhus
Copy link
Owner

That's outside the scope of this package. Sounds like a good idea for a separate package. You could even include some user-friendly syntax/DSL for scheduling and repeated scheduling.

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

No branches or pull requests

2 participants