This commit is contained in:
Temirkhan Myrzamadi 2021-03-13 23:08:35 +06:00 committed by Eric S. Londres
parent 8b1c3b8101
commit 8826263e58

View file

@ -12,7 +12,8 @@
//! use tokio_stream::wrappers::UnboundedReceiverStream;
//!
//! async fn handle_messages(rx: DispatcherHandlerRx<AutoSend<Bot>, Message>) {
//! UnboundedReceiverStream::new(rx).for_each_concurrent(None, |message| async move {
//! UnboundedReceiverStream::new(rx)
//! .for_each_concurrent(None, |message| async move {
//! dbg!(message.update);
//! })
//! .await;