Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EffectScope

Index

Constructors

constructor

  • Parameters

    • Optional detached: boolean

    Returns EffectScope

Properties

active

active: boolean

cleanups

cleanups: (() => void)[]

effects

effects: ReactiveEffect<any>[]

Private index

index: any

track a child scope's index in its parent's scopes array for optimized removal

parent

parent: undefined | EffectScope

scopes

scopes: undefined | EffectScope[]

Methods

off

  • off(): void
  • Returns void

on

  • on(): void
  • Returns void

run

  • run<T>(fn: () => T): undefined | T
  • Type parameters

    • T

    Parameters

    • fn: () => T
        • (): T
        • Returns T

    Returns undefined | T

stop

  • stop(fromParent?: boolean): void
  • Parameters

    • Optional fromParent: boolean

    Returns void

Generated using TypeDoc