@delba_oliveira — Next.js 15 RC ships after()
Next.js 15 RC: after()
Perform secondary tasks after responding to the user so they don't have to wait.
Available in Server Components, Server Actions, Middleware, and Route Handlers.
Smart addition to the Next.js runtime. The classic problem: you want to do something after the response is sent — log an event, trigger a webhook, update a cache — but you don't want the user to wait for it. Previously you'd reach for something like waitUntil on the Vercel edge runtime. after() makes this a first-class primitive available across Server Components, Server Actions, Middleware, and Route Handlers. That breadth matters — it's not just for edge routes anymore. Worth trying for any fire-and-forget logging or analytics calls that were previously making responses slower than they needed to be.
