fs2.concurrent.SignallingRef$
See theSignallingRef companion class
object SignallingRef
Attributes
- Companion:
- class
- Source:
- Signal.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- SignallingRef.type
Members list
Concise view
Value members
Concrete methods
Builds a SignallingRef
value for data types that are Concurrent
.
Builds a SignallingRef
value for data types that are Concurrent
.
This builder uses the Partially-Applied Type technique.
SignallingRef[IO].of(10L) <-> SignallingRef.of[IO, Long](10L)
Attributes
- See also:
- Source:
- Signal.scala
Alias for of
.
def lens[F[_], A, B](ref: SignallingRef[F, A])(get: A => B, set: A => B => A)(implicit F: Functor[F]): SignallingRef[F, B]
Creates an instance focused on a component of another SignallingRef's value. Delegates every get and modification to underlying SignallingRef, so both instances are always in sync.
Creates an instance focused on a component of another SignallingRef's value. Delegates every get and modification to underlying SignallingRef, so both instances are always in sync.
Attributes
- Source:
- Signal.scala
Builds a SignallingRef
for for effect F
, initialized to the supplied value.
Builds a SignallingRef
for for effect F
, initialized to the supplied value.
Attributes
- Source:
- Signal.scala
Implicits
Implicits
Attributes
- Source:
- Signal.scala