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

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

OutputRefSubscription

interface

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

Subscribing to outputs programmatically

On this page

    arrow_upward_alt Back to the top

    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

    Web Proxy Viewer  |  New URL  |  Original Page