v0.2.2
Patch Changes
-
cb1a144: Forward
WebhookOptionsthroughResendAdapter.handleWebhooktochat.processMessage.processMessageis fire-and-forget, so on serverless platforms (e.g. Vercel Functions) the function would return 200 before the detached task finished — inbound emails were acknowledged but never processed. Callers can now passwaitUntilto keep the runtime alive until processing completes:import { after } from "next/server"; adapter.handleWebhook(request, { waitUntil: (p) => after(() => p) });