- Community aggregator
- Country: United States
Your void promises in Next.js route handlers are being dropped on Vercel
Here's a pattern that's probably in your codebase: export async function POST ( request : Request ) { const result = await doTheWork ( request ) ; // Don't make the user wait for bookkeeping. void recordAudit ( { userId , ok : true } ) ; void recordCost ( { workspaceId , tokens : result . tokens }…