@angular/core

effect

function

Create a global Effect for the given reactive function.

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