Best Approach for partial retrying

Was wondering what the best approach for my retry problem would be in cloudflare workers since haven't been using them for too long. I have a worker that does some things like creating a unique event id etc fetches the right project requested etc, then I send all that data via a fetch request, now I would like if that fetch request fails. To just retry the fetch on a delay. What would be the best implementation for this? Having a Service Worker that just does the fetch request with and DO Alarm? Or is there a better way?
0 Replies
No replies yetBe the first to reply to this messageJoin