Skip to main content
Version: Next

Subscription

Home > @backstage/types > Subscription

Subscription returned when subscribing to an Observable, see TC39.

Signature:

export type Subscription = {
unsubscribe(): void;
readonly closed: boolean;
};