@angular/core

effect

function

Create a global Effect for the given reactive function.

  
    effect(  effectFn: (onCleanup: EffectCleanupRegisterFn) => void,  options?: CreateEffectOptions): EffectRef;
  
  
Jump to details