Module Disml.Cache

module ChannelMap : module type of sig ... end
module GuildMap : module type of sig ... end
module UserMap : module type of sig ... end
type t = {
text_channels : Disml__.Channel_t.guild_text ChannelMap.t;
voice_channels : Disml__.Channel_t.guild_voice ChannelMap.t;
categories : Disml__.Channel_t.category ChannelMap.t;
groups : Disml__.Channel_t.group ChannelMap.t;
private_channels : Disml__.Channel_t.dm ChannelMap.t;
guilds : Disml__.Guild_t.t GuildMap.t;
presences : Disml__.Presence.t UserMap.t;
unavailable_guilds : Disml__.Guild_t.unavailable GuildMap.t;
user : Disml__.User_t.t option;
users : Disml__.User_t.t UserMap.t;
}
val cache : t Async.Mvar.Read_write.t
val create : unit -> t