The above was supposed to say event.waitUntil
. I tried to fix it immediately after posting it but I kept getting a 403 Forbidden error.
I don’t actually need it to wait 24 hours. I just used that as an example. Worst case scenario I’d need to wait for around 60 seconds.