RedisRef

class RedisRef[F[_]](redisConnection: RedisConnection[F], key: String)(implicit evidence$2: Async[F]) extends Ref[F, String]
class Ref[F, String]
trait RefSink[F, String]
trait RefSource[F, String]
class Object
trait Matchable
class Any

Value members

Concrete methods

def access: F[(String, String => F[Boolean])]
def get: F[String]
def modify[B](f: String => (String, B)): F[B]
def modifyState[B](state: State[String, B]): F[B]
def set(a: String): F[Unit]
def tryModify[B](f: String => (String, B)): F[Option[B]]
def tryModifyState[B](state: State[String, B]): F[Option[B]]
def update(f: String => String): F[Unit]

Inherited methods

def getAndSet(a: String): F[String]

Replaces the current value with a, returning the previous value.

Replaces the current value with a, returning the previous value.

Inherited from:
Ref

Updates the current value using f and returns the previous value.

Updates the current value using f and returns the previous value.

In case of retries caused by concurrent modifications, the returned value will be the last one before a successful update.

Inherited from:
Ref
def mapK[G[_]](f: FunctionK[F, G])(implicit F: Functor[F]): Ref[G, String]

Modify the context F using transformation f.

Modify the context F using transformation f.

Inherited from:
Ref

Updates the current value using f, and returns the updated value.

Updates the current value using f, and returns the updated value.

Inherited from:
Ref