threadsFlow
A hot Flow that emits the current thread list. Replays the last value to new subscribers.
Emits on:
Server responses to thread-list/thread-recovery requests (triggered automatically on first collection and by refresh; the specific server event is mode-dependent)
Local create calls (optimistically, before server confirmation)
Real-time case-status changes from the server (multi-thread and live-chat modes only)
Per-thread metadata updates (multi-thread mode only)
Collect this flow before calling create in single-thread or live-chat configurations to ensure proper thread-creation validation.