Workers duration limit confusion

Use event.waitUntil() to delay cancellation for another 30 seconds or until the promise passed to waitUntil() completes.
The docs on Duration Limit (https://developers.cloudflare.com/workers/platform/limits/#duration) says that using waitUntil() delays Worker expiration untils 30 secs *or * the promise completes. The "or" is confusing me. Does that mean it'll continue for the longer of the two (and potentially indefinitely while awaiting the Promise)?
Cloudflare Docs
Limits | Cloudflare Workers docs
Cloudflare Workers plan and platform limits.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server