cacheUsers
talawa-api / services/UserCache/cacheUser / cacheUsers
Function: cacheUsers()
> cacheUsers(users
): Promise
<void
>
Caches the provided array of InterfaceUser objects in Redis.
Parameters
users
An array of InterfaceUser objects to be cached.
Returns
Promise
<void
>
A promise resolving to void.