The Wayback Machine - https://web.archive.org/web/20260113221950/https://angular.dev/api/core/OutputRefSubscription
    • Overview
@angular/core

OutputRefSubscription

interface

Function that can be used to manually clean up a programmatic OutputRef#subscribe subscription.

API

    
      interface OutputRefSubscription {  unsubscribe(): void;}
    
    

unsubscribe

void
@returnsvoid

Description

Function that can be used to manually clean up a programmatic OutputRef#subscribe subscription.

Note: Angular will automatically clean up subscriptions when the directive/component of the output is destroyed.

Jump to details
HTTPS · web.archive.org
← Home