crystal.react

Type members

Classlikes

class Ctx[F[_], C]
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
object Hold
Companion
class
implicit
class StreamOps[F[_], A](s: Stream[F, A])
abstract
class StreamRendererBackend[F[_], A](stream: Stream[F, A])(implicit evidence$1: Async[F], evidence$2: Dispatch[F], evidence$3: Logger[F])

Types

type ContextComponent[S, B] = Component[Reuse[VdomNode], S, B, Props]
type ModState[F[_], A] = A => A => F[Unit]
type SetState[F[_], A] = A => F[Unit]
type StateComponent[S, B] = Component[Reuse[ViewF[Sync, S] => VdomNode], S, B, Props]

Implicits

Implicits

final implicit
def StreamOps[F[_], A](s: Stream[F, A]): StreamOps[F, A]