cacheEvents
talawa-api / services/EventCache/cacheEvents / cacheEvents
Function: cacheEvents()
> cacheEvents(events
): Promise
<void
>
Stores events in Redis cache with a specified time-to-live (TTL).
Parameters
events
Array of events to be cached.
Returns
Promise
<void
>
Promise<void>