Crux vdev Crux.Cache.Provider behaviour View Source

A behaviour module for cache providers.

Caches with a start_link function will be automatically put under the supervision tree when starting the module implementing this behaviour.

Link to this section Summary

Callbacks

Fetches the module handling the channel cache.

Fetches the module handling the channel cache.

Fetches the module handling the guild cache.

Fetches the module handling the presence cache.

Fetches the module handling the user cache.

Link to this section Callbacks

Link to this callback

channel_cache() View Source
channel_cache() :: module()

Fetches the module handling the channel cache.

Link to this callback

emoji_cache() View Source
emoji_cache() :: module()

Fetches the module handling the channel cache.

Link to this callback

guild_cache() View Source
guild_cache() :: module()

Fetches the module handling the guild cache.

Link to this callback

presence_cache() View Source
presence_cache() :: module()

Fetches the module handling the presence cache.

Link to this callback

user_cache() View Source
user_cache() :: module()

Fetches the module handling the user cache.