Nostrum.Cache.PresenceCache.NoOp (Nostrum v0.5.0-rc2) View Source
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
Specs
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
.
Specs
create(map()) :: :ok
Do not add the given presence data to the cache.
Start up the cache supervisor.
Start the supervisor.
Specs
update(map()) :: {Nostrum.Struct.Guild.id(), nil | map(), map()} | :noop
Return the presence update for consumers.