Type Parameters

  • T = any

Constructors

Properties

active: boolean
deps: Dep[]
fn: (() => T)

Type declaration

    • (): T
    • Returns T

onStop?: (() => void)

Type declaration

    • (): void
    • Returns void

onTrack?: ((event: DebuggerEvent) => void)

Type declaration

onTrigger?: ((event: DebuggerEvent) => void)

Type declaration

scheduler?: EffectScheduler
trigger: (() => void)

Type declaration

    • (): void
    • Returns void

Accessors

  • get dirty(): boolean
  • Returns boolean

  • set dirty(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

Methods

  • Returns T

  • Returns void