Chat SDK adds support for concurrent message handling
·2026.03.24 23:00
Key point
The new `concurrency` option gives fine-grained control over message processing strategy.
Details
Chat SDK has added a new concurrency option to the Chat class, controlling what happens when a new message arrives before the previous message has finished processing.
Four strategies are supported.
drop: The default, which drops incoming messages.queue: Continues processing the latest message after the currently running task finishes.debounce: Waits until the conversation pauses briefly, then processes only the last message.concurrent: Processes all messages immediately in parallel, without locking.
To get started, check out the concurrency guide in the Chat SDK documentation.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.