BooleanSignalOps

fs2.concurrent.Signal$.BooleanSignalOps
final implicit class BooleanSignalOps[F[_]](val self: Signal[F, Boolean]) extends AnyVal

Attributes

Source
Signal.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def interrupt[A](s: Stream[F, A])(implicit F: Concurrent[F]): Stream[F, A]

Interrupts the supplied Stream when this Signal is true.

Interrupts the supplied Stream when this Signal is true.

Attributes

Source
Signal.scala
def predicate[A](f: F[A])(implicit F: Monad[F]): F[Unit]

Predicates the supplied effect f on this Signal being true.

Predicates the supplied effect f on this Signal being true.

Attributes

Source
Signal.scala

Concrete fields

val self: Signal[F, Boolean]

Attributes

Source
Signal.scala