Skip to main content Link Search Menu Expand Document (external link)

index overview

Added in v1.0.0


Table of contents


composables

useRx

Signature

export declare const useRx: <R, W>(rx: Rx.Writable<R, W>) => readonly [Readonly<Ref<R>>, (_: W) => void]

Added in v1.0.0

useRxRef

Signature

export declare const useRxRef: <A>(rxRef: RxRef.ReadonlyRef<A>) => Readonly<Ref<A>>

Added in v1.0.0

useRxSet

Signature

export declare const useRxSet: <R, W>(rx: Rx.Writable<R, W>) => (_: W) => void

Added in v1.0.0

useRxValue

Signature

export declare const useRxValue: <A>(rx: Rx.Rx<A>) => Readonly<Ref<A>>

Added in v1.0.0

modules

From “@effect-rx/rx/Registry”

Re-exports all named exports from the “@effect-rx/rx/Registry” module as Registry.

Signature

export * as Registry from "@effect-rx/rx/Registry"

Added in v1.0.0

From “@effect-rx/rx/Result”

Re-exports all named exports from the “@effect-rx/rx/Result” module as Result.

Signature

export * as Result from "@effect-rx/rx/Result"

Added in v1.0.0

From “@effect-rx/rx/Rx”

Re-exports all named exports from the “@effect-rx/rx/Rx” module as Rx.

Signature

export * as Rx from "@effect-rx/rx/Rx"

Added in v1.0.0

From “@effect-rx/rx/RxRef”

Re-exports all named exports from the “@effect-rx/rx/RxRef” module as RxRef.

Signature

export * as RxRef from "@effect-rx/rx/RxRef"

Added in v1.0.0

registry

defaultRegistry

Signature

export declare const defaultRegistry: Registry.Registry

Added in v1.0.0

injectRegistry

Signature

export declare const injectRegistry: () => Registry.Registry

Added in v1.0.0

registryKey

Signature

export declare const registryKey: InjectionKey<Registry.Registry>

Added in v1.0.0