Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComponentScheduler

The Manager for Component's life-cycle methods. It collaborates with NodeActivator to schedule and invoke life cycle methods for components

Hierarchy

  • ComponentScheduler

Index

Constructors

constructor

Properties

Private _deferredComps

_deferredComps: any[] = []

Private _updating

_updating: boolean

lateUpdateInvoker

lateUpdateInvoker: ReusableInvoker

The invoker of lateUpdate callback

startInvoker

startInvoker: OneOffInvoker

The invoker of start callback

updateInvoker

updateInvoker: ReusableInvoker

The invoker of update callback

Methods

Private deferredSchedule

  • _deferredSchedule(): void

onDisabled

  • onDisabled(comp: any): void

onEnabled

  • onEnabled(comp: any): void

Private scheduleImmediate

  • scheduleImmediate(comp: any): void

Private startForNewComps

  • _startForNewComps(): void

disableComp

  • disableComp(comp: any): void

enableComp

  • enableComp(comp: any, invoker?: any): void

lateUpdatePhase

  • lateUpdatePhase(dt: number): void

startPhase

  • startPhase(): void

unscheduleAll

  • unscheduleAll(): void

updatePhase

  • updatePhase(dt: number): void

Generated using TypeDoc