芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/rxjs/internal/Subject.d.ts
import { Operator } from './Operator'; import { Observable } from './Observable'; import { Subscriber } from './Subscriber'; import { Subscription } from './Subscription'; import { Observer, SubscriptionLike, TeardownLogic } from './types'; /** * @class SubjectSubscriber
*/ export declare class SubjectSubscriber
extends Subscriber
{ protected destination: Subject
; constructor(destination: Subject
); } /** * A Subject is a special type of Observable that allows values to be * multicasted to many Observers. Subjects are like EventEmitters. * * Every Subject is an Observable and an Observer. You can subscribe to a * Subject, and you can call next to feed values as well as error and complete. * * @class Subject
*/ export declare class Subject
extends Observable
implements SubscriptionLike { observers: Observer
[]; closed: boolean; isStopped: boolean; hasError: boolean; thrownError: any; constructor(); /**@nocollapse * @deprecated use new Subject() instead */ static create: Function; lift
(operator: Operator
): Observable
; next(value?: T): void; error(err: any): void; complete(): void; unsubscribe(): void; /** @deprecated This is an internal implementation detail, do not use. */ _trySubscribe(subscriber: Subscriber
): TeardownLogic; /** @deprecated This is an internal implementation detail, do not use. */ _subscribe(subscriber: Subscriber
): Subscription; /** * Creates a new Observable with this Subject as the source. You can do this * to create customize Observer-side logic of the Subject and conceal it from * code that uses the Observable. * @return {Observable} Observable that the Subject casts to */ asObservable(): Observable
; } /** * @class AnonymousSubject
*/ export declare class AnonymousSubject
extends Subject
{ protected destination?: Observer
; constructor(destination?: Observer
, source?: Observable
); next(value: T): void; error(err: any): void; complete(): void; /** @deprecated This is an internal implementation detail, do not use. */ _subscribe(subscriber: Subscriber
): Subscription; }