PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
rxjs
/
internal
import { SubscriptionLike, TeardownLogic } from './types'; /** * Represents a disposable resource, such as the execution of an Observable. A * Subscription has one important method, `unsubscribe`, that takes no argument * and just disposes the resource held by the subscription. * * Additionally, subscriptions may be grouped together through the `add()` * method, which will attach a child Subscription to the current Subscription. * When a Subscription is unsubscribed, all its children (and its grandchildren) * will be unsubscribed as well. * * @class Subscription */ export declare class Subscription implements SubscriptionLike { /** @nocollapse */ static EMPTY: Subscription; /** * A flag to indicate whether this Subscription has already been unsubscribed. * @type {boolean} */ closed: boolean; /** @internal */ protected _parentOrParents: Subscription | Subscription[]; /** @internal */ private _subscriptions; /** * @param {function(): void} [unsubscribe] A function describing how to * perform the disposal of resources when the `unsubscribe` method is called. */ constructor(unsubscribe?: () => void); /** * Disposes the resources held by the subscription. May, for instance, cancel * an ongoing Observable execution or cancel any other type of work that * started when the Subscription was created. * @return {void} */ unsubscribe(): void; /** * Adds a tear down to be called during the unsubscribe() of this * Subscription. Can also be used to add a child subscription. * * If the tear down being added is a subscription that is already * unsubscribed, is the same reference `add` is being called on, or is * `Subscription.EMPTY`, it will not be added. * * If this subscription is already in an `closed` state, the passed * tear down logic will be executed immediately. * * When a parent subscription is unsubscribed, any child subscriptions that were added to it are also unsubscribed. * * @param {TeardownLogic} teardown The additional logic to execute on * teardown. * @return {Subscription} Returns the Subscription used or created to be * added to the inner subscriptions list. This Subscription can be used with * `remove()` to remove the passed teardown logic from the inner subscriptions * list. */ add(teardown: TeardownLogic): Subscription; /** * Removes a Subscription from the internal list of subscriptions that will * unsubscribe during the unsubscribe process of this Subscription. * @param {Subscription} subscription The subscription to remove. * @return {void} */ remove(subscription: Subscription): void; }
[-] Observable.js.map
[edit]
[-] Rx.js.map
[edit]
[+]
scheduled
[-] Notification.js
[edit]
[-] SubjectSubscription.js.map
[edit]
[-] Subscription.d.ts
[edit]
[-] InnerSubscriber.js
[edit]
[+]
..
[+]
testing
[-] ReplaySubject.js.map
[edit]
[-] Subscription.js
[edit]
[-] Observer.js.map
[edit]
[-] Rx.d.ts
[edit]
[-] Operator.js.map
[edit]
[-] BehaviorSubject.d.ts
[edit]
[-] OuterSubscriber.js.map
[edit]
[-] ReplaySubject.d.ts
[edit]
[-] config.d.ts
[edit]
[-] OuterSubscriber.d.ts
[edit]
[-] SubjectSubscription.js
[edit]
[-] Subject.js.map
[edit]
[-] Scheduler.js
[edit]
[+]
observable
[-] Operator.js
[edit]
[-] Subject.d.ts
[edit]
[-] types.js.map
[edit]
[-] Observer.js
[edit]
[+]
scheduler
[+]
symbol
[-] Subscriber.js
[edit]
[-] AsyncSubject.js.map
[edit]
[-] AsyncSubject.js
[edit]
[-] Rx.js
[edit]
[-] Scheduler.js.map
[edit]
[-] Observable.d.ts
[edit]
[-] Subscriber.js.map
[edit]
[-] BehaviorSubject.js.map
[edit]
[-] types.js
[edit]
[-] Operator.d.ts
[edit]
[-] Subject.js
[edit]
[-] config.js.map
[edit]
[+]
util
[-] Scheduler.d.ts
[edit]
[-] Subscriber.d.ts
[edit]
[-] config.js
[edit]
[-] types.d.ts
[edit]
[-] OuterSubscriber.js
[edit]
[-] Subscription.js.map
[edit]
[-] InnerSubscriber.d.ts
[edit]
[-] AsyncSubject.d.ts
[edit]
[-] ReplaySubject.js
[edit]
[-] Observable.js
[edit]
[-] Observer.d.ts
[edit]
[-] Notification.js.map
[edit]
[-] SubjectSubscription.d.ts
[edit]
[-] BehaviorSubject.js
[edit]
[+]
operators
[-] Notification.d.ts
[edit]
[-] InnerSubscriber.js.map
[edit]