/plushcap/analysis/inngest/inngest-vercel-cloudflare-wait-until

What is waitUntil (Vercel, Cloudflare) and when should I use it?

What's this blog post about?

Vercel's waitUntil utility method is now available for all serverless functions, allowing developers to ensure that an async function completes before the serverless function shuts down. This tool is useful when performing non-critical asynchronous work in the background without blocking the user's response. However, it does not guarantee success and should not be used for critical business logic. It is also not designed for running background jobs, which require a system that handles queueing, retries, and logs failures. Inngest can handle background jobs reliably but may have networking issues when used with waitUntil.

Company
Inngest

Date published
May 16, 2024

Author(s)
Dan Farrelly

Word count
1254

Hacker News points
3

Language
English


By Matt Makai. 2021-2024.