Skip to main content

Chat SDK now supports concurrent message handling

By Steven Van ·

Chat SDK's new concurrency setting lets developers choose drop, queue, debounce, or concurrent handling for overlapping thread messages.

The Vercel Chat SDK now has a concurrency option on the Chat class, letting developers set what happens when a new message arrives on a thread before the previous one has finished processing.

  • Drop (the default): discards the incoming message.
  • Queue: processes the latest message once the current handler finishes.
  • Debounce: waits for a pause in the conversation and processes only the final message.
  • Concurrent: processes every message immediately, with no locking.
Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Chat SDK now supports concurrent message handling on Creators Toolbox