waitUntil
An API provided by the Vercel runtime that hands asynchronous tasks occurring after the response is sent, such as logging, metrics reporting and cache writes, to the platform to complete in the background, avoiding blocking the response returned to the client, though under traditional billing models it still extends function lifetime.
Timeline (last 90 days)
The Flags SDK previously implemented usage reporting via waitUntil, which caused the function to keep running after sending the response, incurring additional function execution duration billing.
waitUntil is an API provided by the Vercel runtime for handing asynchronous tasks after the response is sent to the platform to complete in the background, but under the traditional billing model, tasks taken over by waitUntil still extend the function's lifetime and count toward execution duration.
All Facts (2)
The Flags SDK previously implemented usage reporting via waitUntil, which caused the function to keep running after sending the response, incurring additional function execution duration billing.
50%UnverifiedwaitUntil is an API provided by the Vercel runtime for handing asynchronous tasks after the response is sent to the platform to complete in the background, but under the traditional billing model, tasks taken over by waitUntil still extend the function's lifetime and count toward execution duration.
50%