From 1eb581c049b640e601b2dff7505c4d230be23740 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Fri, 4 Aug 2023 16:54:56 +0200 Subject: [PATCH] Add note about Gateway: store --- src/gateway.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gateway.rs b/src/gateway.rs index a3d0d1b..58a2bdd 100644 --- a/src/gateway.rs +++ b/src/gateway.rs @@ -297,6 +297,8 @@ impl GatewayHandle { } } +/// The value of `store`s [`HashMap`] is a [`tokio::sync::watch::channel`]. See the +/// [`Updateable`] trait for more information. pub struct Gateway { events: Arc>, heartbeat_handler: HeartbeatHandler,