[KongchangAI]
ConceptwaitUntil API

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)

Oct 29

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.

Unverified50%
Oct 29

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.

Unverified50%

All Facts (2)

Source Articles