Expand description
Async client facade and runner skeleton. Async client facade and runner skeleton.
This module establishes the TDLib-style host shape: cheap cloneable handle, single owner runner, bounded command queue, and broadcast committed events. Transport, sync, store, and transaction managers plug into this runner instead of being spread across bridges or agents.
Structs§
- Client
Runner - Single-owner async client runner.
- Inline
Client - Cheap cloneable handle for apps, bridges, agents, and tests.
- Inline
Client Builder - Builder for an
InlineClientruntime. - Inline
Client Runtime - Built client runtime before the runner is hosted.
Enums§
- Client
Command Error - Errors returned by the async client handle before an operation reaches the backend.
- Client
Request Error - Errors returned by typed client operations.
Constants§
- DEFAULT_
COMMAND_ QUEUE_ CAPACITY - Default bounded command queue capacity.
- DEFAULT_
EVENT_ QUEUE_ CAPACITY - Default broadcast event queue capacity.