From 9fe55559c7d7696219310b91131654660f69a3c2 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Fri, 4 Aug 2023 16:54:03 +0200 Subject: [PATCH] Add note about GatewayHandle: `store` --- src/gateway.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gateway.rs b/src/gateway.rs index ea5b203..a3d0d1b 100644 --- a/src/gateway.rs +++ b/src/gateway.rs @@ -152,6 +152,10 @@ impl GatewayMessage { /// [`GatewayEvents`](GatewayEvent), which you can subscribe to. Gateway events include all currently /// implemented types with the trait [`WebSocketEvent`] /// Using this handle you can also send Gateway Events directly. +/// +/// # Store +/// The value of `store`s [`HashMap`] is a [`tokio::sync::watch::channel`]. See the +/// [`Updateable`] trait for more information. #[derive(Debug)] pub struct GatewayHandle { pub url: String,