Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HookEnvironment

Hierarchy

  • LazyDisposable
    • HookEnvironment

Index

Properties

Readonly addDisposable

addDisposable: Arity1<Disposable, Disposable>

Readonly clearUpdated

clearUpdated: () => PureEffect<void>

Type declaration

Readonly dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

Readonly disposed

disposed: boolean

Readonly id

id: Uuid

Readonly resetId

resetId: () => PureEffect<void>

Type declaration

Readonly updated

updated: boolean

Readonly useRef

useRef: <E, A>(initialState?: InitialState<E, A | null | undefined | void>) => Effects<E, UseRef<A>>

Type declaration

    • <E, A>(initialState?: InitialState<E, A | null | undefined | void>): Effects<E, UseRef<A>>
    • Type parameters

      • E

      • A

      Parameters

      • Optional initialState: InitialState<E, A | null | undefined | void>

      Returns Effects<E, UseRef<A>>

Readonly useState

useState: <E, A>(initialState: InitialState<E, A>) => Effects<E, UseState<A>>

Type declaration

Generated using TypeDoc