SubjectSubscriber
Extends:
Direct Subclass:
Inherited Summary
From class Subscription | ||
public |
A flag to indicate whether this Subscription has already been unsubscribed. |
|
public |
add(teardown: TeardownLogic): Subscription Adds a tear down to be called during the unsubscribe() of this Subscription. |
|
public |
remove(subscription: Subscription): void Removes a Subscription from the internal list of subscriptions that will unsubscribe during the unsubscribe process of this Subscription. |
|
public |
unsubscribe(): void Disposes the resources held by the subscription. |
From class Subscriber | ||
public static |
create(next: function(x: ?T): void, error: function(e: ?any): void, complete: function(): void): Subscriber<T> A static factory for a Subscriber, given a (potentially partial) definition of an Observer. |
|
public |
complete(): void The Observer callback to receive a valueless notification of type
|
|
public |
error(err: any): void |
|
public |
next(value: T): void The Observer callback to receive notifications of type |