Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by bretthoerner

3 years ago

I don't think you should need a cron and an alarm, you should be able to just set (and re-set) an alarm in your Durable Object(s)?

1 comment

bretthoerner

Reply

adam_arthur  3 years ago

Yes you can do that, and it's what I'm doing. But you have to make a request to the durable object first to instantiate it to set the alarm loop

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities