marbemac
CDCloudflare Developers
•Created by Diogo Ferreira on 10/29/2024 in #workflows
waitForEvent
ok great thank ya
6 replies
CDCloudflare Developers
•Created by Diogo Ferreira on 10/29/2024 in #workflows
waitForEvent
One more thought - would using pause/resume work as expected? Not as elegant as purely event based like Inngest, but similar outcome and probably less of a lift to fit into Cloudflare's world (since events as a concept is not baked into cloudflare atm as far as I know).
Separately, whenever the approval or "event" occurs...
6 replies
CDCloudflare Developers
•Created by Diogo Ferreira on 10/29/2024 in #workflows
waitForEvent
ah yes a poll could work - something like this?
@Diogo Ferreira is it OK to include that dynamic waitCount in the sleep step name? Is it even necessary for sleep steps for the name to be unique - perhaps can drop waitCount altogether? Assuming rules of workflow steps don't all apply to sleep steps like they do to regular steps (assuming sleep steps are not cached.. or are they and then skipped if workflow fails and re-runs?)
6 replies