Subject class
Stream implementation to stream items to the server.
Constructors
Subject() |
Properties
cancel |
|
observers |
Methods
complete() | |
error(any) | |
next(T) | |
subscribe(IStream |
Constructor Details
Subject()
new Subject()
Property Details
cancelCallback
public cancelCallback?: () => Promise<void>
Property Value
() => Promise<void>
observers
Method Details
complete()
function complete()
error(any)
function error(err: any)
Parameters
- err
-
any
next(T)
function next(item: T)
Parameters
- item
-
T
subscribe(IStreamSubscriber<T>)
function subscribe(observer: IStreamSubscriber<T>): ISubscription<T>
Parameters
- observer