implicit final class ModStateFOps[S] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ModStateFOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ModStateFOps(self: Write[Sync, japgolly.scalajs.react.util.DefaultEffects.Async, S])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modStateAsyncIn[F[_]](mod: (S) => S)(implicit arg0: Async[F], dispatch: UnsafeSync[Sync]): F[Unit]
Like
modState
but completes with aUnit
value *after* the state modification has been completed.Like
modState
but completes with aUnit
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[_]](f: (S) => S)(implicit arg0: Sync[F]): F[Unit]
- def modStateLIn[F[_]]: ModStateLApplied[F, S]
- def setStateAsyncIn[F[_]](s: S)(implicit arg0: Async[F], dispatch: UnsafeSync[Sync]): F[Unit]
Like
setState
but completes with aUnit
value *after* the state modification has been completed.Like
setState
but completes with aUnit
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[_]](s: S)(implicit arg0: Sync[F]): F[Unit]
- def setStateLIn[F[_]]: SetStateLApplied[F, S]
- def toString(): String
- Definition Classes
- Any