Object/Trait

quasar.effect

AtomicRef

Related Docs: trait AtomicRef | package effect

Permalink

object AtomicRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AtomicRef
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class CompareAndSet[V](expect: V, update: V) extends AtomicRef[V, Predef.Boolean] with Product with Serializable

    Permalink
  2. final case class Get[V, A](f: (V) ⇒ A) extends AtomicRef[V, A] with Product with Serializable

    Permalink

    NB: Attempted to define this as Get[V]() extends AtomicRef[V, V] but when pattern matching (x: AtomicRef[A, B]) match { case Get() => } scalac doesn't recognize that A =:= B.

  3. final class Ops[V, S[_]] extends LiftedOps[[β$0$]AtomicRef[V, β$0$], S]

    Permalink
  4. final case class Set[V](v: V) extends AtomicRef[V, Predef.Unit] with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Ops

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromTaskRef[A](tr: TaskRef[A]): ~>[[β$4$]AtomicRef[A, β$4$], Task]

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. object onSet

    Permalink

    Decorate AtomicRef operations by running an effect after each successful update.

    Decorate AtomicRef operations by running an effect after each successful update. Usage: onSet[V](effect)

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toState[F[_], S](implicit F: MonadState[F, S]): ~>[[β$6$]AtomicRef[S, β$6$], F]

    Permalink
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. object zoom

    Permalink

    Given a lens A -> B, lifts AtomicRef[B, ?] into any effect type providing AtomicRef[A, ?].

    Given a lens A -> B, lifts AtomicRef[B, ?] into any effect type providing AtomicRef[A, ?]. Usage: zoom(aLens).into[S].

Inherited from AnyRef

Inherited from Any

Ungrouped