mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Random re-fmt?...
This commit is contained in:
parent
887f74de40
commit
61ae468bf7
2 changed files with 6 additions and 6 deletions
|
@ -63,7 +63,7 @@ pub trait UpdateListener:
|
||||||
type Err;
|
type Err;
|
||||||
|
|
||||||
/// Returns a token which stops this listener.
|
/// Returns a token which stops this listener.
|
||||||
///
|
///
|
||||||
/// The [`stop`] function of the token is not guaranteed to have an
|
/// The [`stop`] function of the token is not guaranteed to have an
|
||||||
/// immediate effect. That is, some listeners can return updates even
|
/// immediate effect. That is, some listeners can return updates even
|
||||||
/// after [`stop`] is called (e.g.: because of buffering).
|
/// after [`stop`] is called (e.g.: because of buffering).
|
||||||
|
|
|
@ -195,20 +195,20 @@ where
|
||||||
/// telegram.
|
/// telegram.
|
||||||
///
|
///
|
||||||
/// ```mermaid
|
/// ```mermaid
|
||||||
/// sequenceDiagram
|
/// sequenceDiagram
|
||||||
/// participant C as Consumer
|
/// participant C as Consumer
|
||||||
/// participant P as Polling
|
/// participant P as Polling
|
||||||
/// participant T as Telegram
|
/// participant T as Telegram
|
||||||
///
|
///
|
||||||
/// link C: Dispatcher @ ../struct.Dispatcher.html
|
/// link C: Dispatcher @ ../struct.Dispatcher.html
|
||||||
/// link C: repl @ ../../fn.repl.html
|
/// link C: repl @ ../../fn.repl.html
|
||||||
///
|
///
|
||||||
/// C->>P: next
|
/// C->>P: next
|
||||||
///
|
///
|
||||||
/// P->>+T: Updates? (offset = 0)
|
/// P->>+T: Updates? (offset = 0)
|
||||||
/// Note right of T: timeout
|
/// Note right of T: timeout
|
||||||
/// T->>-P: None
|
/// T->>-P: None
|
||||||
///
|
///
|
||||||
/// P->>+T: Updates? (offset = 0)
|
/// P->>+T: Updates? (offset = 0)
|
||||||
/// Note right of T: <= timeout
|
/// Note right of T: <= timeout
|
||||||
/// T->>-P: updates with ids [3, 4]
|
/// T->>-P: updates with ids [3, 4]
|
||||||
|
@ -217,10 +217,10 @@ where
|
||||||
///
|
///
|
||||||
/// C->>P: next
|
/// C->>P: next
|
||||||
/// P->>C: update(4)
|
/// P->>C: update(4)
|
||||||
///
|
///
|
||||||
/// C->>P: next
|
/// C->>P: next
|
||||||
///
|
///
|
||||||
/// P->>+T: Updates? (offset = 5)
|
/// P->>+T: Updates? (offset = 5)
|
||||||
/// Note right of T: <= timeout
|
/// Note right of T: <= timeout
|
||||||
/// T->>-P: updates with ids [5]
|
/// T->>-P: updates with ids [5]
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue