source: trip-planner-front/node_modules/rxjs/internal/AsyncSubject.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 640 bytes
RevLine 
[6a3a178]1import { Subject } from './Subject';
2import { Subscriber } from './Subscriber';
3import { Subscription } from './Subscription';
4/**
5 * A variant of Subject that only emits a value when it completes. It will emit
6 * its latest value to all its observers on completion.
7 *
8 * @class AsyncSubject<T>
9 */
10export declare class AsyncSubject<T> extends Subject<T> {
11 private value;
12 private hasNext;
13 private hasCompleted;
14 /** @deprecated This is an internal implementation detail, do not use. */
15 _subscribe(subscriber: Subscriber<any>): Subscription;
16 next(value: T): void;
17 error(error: any): void;
18 complete(): void;
19}
Note: See TracBrowser for help on using the repository browser.