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