#What's the best way of waiting for extremely long periods of time?

6 messages · Page 1 of 1 (latest)

surreal flower

I'm making a calendar app where users can schedule events. What's the best way to wait for extremely long perdios of time like days, months or years?

I can't use JS' setTimeout function because that has a limit of ~25 days due to JS being 32 bit based.

full jacinthBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by OP
merry isle

What about using timeouts as normal but periodically refetching to check if any new timeouts need to be created?

surreal flower
unique trench

yup