SubjectSubscription.d.ts 444 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import { Subject } from './Subject';
import { Observer } from './types';
import { Subscription } from './Subscription';
/**
 * We need this JSDoc comment for affecting ESDoc.
 * @ignore
 * @extends {Ignored}
 */
export declare class SubjectSubscription<T> extends Subscription {
    subject: Subject<T>;
    subscriber: Observer<T>;
    closed: boolean;
    constructor(subject: Subject<T>, subscriber: Observer<T>);
    unsubscribe(): void;
}