Vercel News

Chat SDK now supports concurrent message handling (opens in new tab)

**Published:** March 24, 2026 | **Authors:** Malte Ubl --- Chat SDK now lets you control what happens when a new message arrives before a previous one finishes processing, with the new `concurrency` option for the Chat class. ```typescript const bot = new Chat({ concurrency: { strategy: "queue", maxQueueSize: 20, onQueueFull: "drop-oldest", queueEntryTtlMs: 60_000, }, // ... }); ``` Four strategies are available: - `drop` (default): discards incoming messages - `queue`: processes the lat...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help