View Source Nostrum.Cache.PresenceCache.NoOp (Nostrum v0.7.0-rc1)
A cache module that does not cache anything.
Useful for bots that do not need presence caching.
Link to this section Summary
Functions
Do not bulk create multiple presences in the cache.
Returns a specification to start this module under a supervisor.
Do not add the given presence data to the cache.
Start up the cache supervisor.
Start the supervisor.
Return the presence update for consumers.
Link to this section Functions
@spec bulk_create(Nostrum.Struct.Guild.id(), [map()]) :: :ok
Do not bulk create multiple presences in the cache.
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec create(map()) :: :ok
Do not add the given presence data to the cache.
Start up the cache supervisor.
Start the supervisor.
@spec update(map()) :: {Nostrum.Struct.Guild.id(), nil | map(), map()} | :noop
Return the presence update for consumers.