Add note about Gateway: store

This commit is contained in:
bitfl0wer 2023-08-04 16:54:56 +02:00
parent 9fe55559c7
commit 1eb581c049
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 2 additions and 0 deletions

View File

@ -297,6 +297,8 @@ impl GatewayHandle {
}
}
/// The value of `store`s [`HashMap`] is a [`tokio::sync::watch::channel<T: Updateable>`]. See the
/// [`Updateable`] trait for more information.
pub struct Gateway {
events: Arc<Mutex<Events>>,
heartbeat_handler: HeartbeatHandler,