Class ReactiveEffect<T>

Type Parameters

  • T = any

Constructors

Properties

active: boolean = true
allowRecurse?: boolean
computed?: ComputedRefImpl<T>

Can be attached after creation

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

Type declaration

    • (): T
    • Returns T

onStop?: (() => void)

Type declaration

    • (): void
    • Returns void

parent: ReactiveEffect<any> = undefined
scheduler: EffectScheduler = null

Methods

  • Returns T

  • Returns void