• Overview
@angular/core

EffectRef

interface
stablesince v20.0

A global reactive effect, which can be manually destroyed.

API

    
      interface EffectRef {}
    
    

destroy

void

Shut down the effect, removing it from any upcoming scheduled executions.

@returnsvoid
Jump to details