-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
bun.jsSomething to do with a Bun-specific APISomething to do with a Bun-specific APIenhancementNew feature or requestNew feature or request
Description
What is the problem this feature would solve?
reason: naive solution has some drawback:
- setInterval: not play well with async (also have below problem)
- infinite loop with Bun.sleep: will keep running in
--hotmode
What is the feature you are proposing to solve the problem?
add something like https://deno.land/api@v1.38.0?s=Deno.cron&unstable=
which can be used with --hot mode and async
What alternatives have you considered?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bun.jsSomething to do with a Bun-specific APISomething to do with a Bun-specific APIenhancementNew feature or requestNew feature or request