ModStateFOps

final implicit
class ModStateFOps[S](self: Write[Sync, Async, S]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def modStateAsyncIn[F[_] : Async](mod: S => S)(implicit evidence$10: Async[F], dispatch: UnsafeSync[Sync]): F[Unit]

Like modState but completes with a Unit value after the state modification has been completed. In contrast, modState(mod).to[F] completes with a unit once the state modification has been enqueued.

Like modState but completes with a Unit value after the state modification has been completed. In contrast, modState(mod).to[F] completes with a unit once the state modification has been enqueued.

Provides access only to state.

def modStateIn[F[_] : Sync](f: S => S): F[Unit]
def modStateLIn[F[_]]: ModStateLApplied[F, S]
def setStateAsyncIn[F[_] : Async](s: S)(implicit evidence$9: Async[F], dispatch: UnsafeSync[Sync]): F[Unit]

Like setState but completes with a Unit value after the state modification has been completed. In contrast, setState(mod).to[F] completes with a unit once the state modification has been enqueued.

Like setState but completes with a Unit value after the state modification has been completed. In contrast, setState(mod).to[F] completes with a unit once the state modification has been enqueued.

Provides access only to state.

def setStateIn[F[_] : Sync](s: S): F[Unit]
def setStateLIn[F[_]]: SetStateLApplied[F, S]