mirror of
https://github.com/teloxide/teloxide.git
synced 2024-10-24 01:47:08 +02:00
Add some helpful comments
This commit is contained in:
parent
d6521662b4
commit
c2bc945d27
1 changed files with 3 additions and 0 deletions
|
@ -100,7 +100,10 @@ pub struct Dispatcher<R, Err> {
|
|||
|
||||
handler: Arc<UpdateHandler<Err>>,
|
||||
default_handler: Arc<DefaultHandler>,
|
||||
|
||||
// Tokio TX channel parts associated with chat IDs that consume updates sequentially.
|
||||
workers: HashMap<i64, WorkerTx>,
|
||||
// The default TX part that consume updates concurrently.
|
||||
default_worker: Option<WorkerTx>,
|
||||
|
||||
error_handler: Arc<dyn ErrorHandler<Err> + Send + Sync>,
|
||||
|
|
Loading…
Reference in a new issue