crystal.react
package crystal.react
Type members
Classlikes
class Hold[F[_], A](setter: A => F[Unit], duration: Option[FiniteDuration], cancelToken: Ref[F, Option[F[Unit]]], buffer: Ref[F, Option[A]])(implicit evidence$1: Async[F])
Encapsulates an effectful setter
. When enable
is called, calls to setter
will be delayed
for duration
. Each call to enable
resets the internal timer, i.e: duration
is guaranteed
to have elapsed since last call to enable
before calling setter
.
Encapsulates an effectful setter
. When enable
is called, calls to setter
will be delayed
for duration
. Each call to enable
resets the internal timer, i.e: duration
is guaranteed
to have elapsed since last call to enable
before calling setter
.
- Companion
- object
abstract
class StreamRendererBackend[F[_], A](stream: Stream[F, A])(implicit evidence$1: Async[F], evidence$2: Dispatch[F], evidence$3: Logger[F])