Skip to main content

Module update_config

Module update_config 

Source
Expand description

Configuration for user-facing update buffering.

Internal MTProto state (pts, qts, gap detection, getDifference) always runs inside the reader task and is never interrupted. Only the high-level Update queue that your application reads from stream_updates() is controlled by these types.

Structs§

UpdateConfig
Configuration for the user-facing update dispatch queue.

Enums§

OverflowStrategy
What to do when the user-dispatch queue is at capacity and a new update arrives.