[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/EffectRef [Back]  [Original]

EffectRef Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core

EffectRef

interface
stablesince v20.0

A global reactive effect, which can be manually destroyed.

Destroying effects

On this page

    arrow_upward_alt Back to the top

    API

        
          interface EffectRef {  destroy(): void;}
        
        

    destroy

    void

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

    @returnsvoid
    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page