addUser method
Adds user
to the cache item with key
.
Only works if the cache item already exists.
Implementation
Result<CacheEntry<K, V, U>, CachetteError> addUser(K key, U user) =>
addUsers(key, {user});
Adds user
to the cache item with key
.
Only works if the cache item already exists.
Result<CacheEntry<K, V, U>, CachetteError> addUser(K key, U user) =>
addUsers(key, {user});