@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
22 lines (21 loc) • 826 B
TypeScript
import { Observable } from '../Observable';
import { Notification } from '../Notification';
/**
* Returns an Observable that represents all of the emissions and notifications
* from the source Observable into emissions marked with their original types
* within a `Notification` objects.
*
* <img src="./img/materialize.png" width="100%">
*
* @see {@link Notification}
*
* @scheduler materialize does not operate by default on a particular Scheduler.
* @return {Observable<Notification<T>>} an Observable that emits items that are the result of
* materializing the items and notifications of the source Observable.
* @method materialize
* @owner Observable
*/
export declare function materialize<T>(): Observable<Notification<T>>;
export interface MaterializeSignature<T> {
(): Observable<Notification<T>>;
}