object SignallingMapRef
- Source
- Signal.scala
- Alphabetic
- By Inheritance
- SignallingMapRef
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def ofSingleImmutableMap[F[_], K, V](initial: Map[K, V] = Map.empty[K, V])(implicit F: Concurrent[F]): F[SignallingMapRef[F, K, Option[V]]]
Builds a
SignallingMapRef
for effectF
, initialized to the supplied value.Builds a
SignallingMapRef
for effectF
, initialized to the supplied value.Update semantics for
discrete
are the same asSignallingRef
, with one exception: it cannot distinguish updates that remove a key (by setting its value toNone
).More specifically: if you remove a key, this will only notify once per listener i.e. setting it to
None
again will not trigger another update. Furthermore, if a listener's last pull returnedNone
, and by the time it pulls again the current value isNone
, then it will not be notified regardless of any non-None
updates that may have happened between the pulls. This special semantic forNone
is necessary to prevent memory leaks at keys with no values and no listeners. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])