Skip to main content
Module

x/rxjs/mod.ts>Observable#lift

Deno port of RXJS
Latest
method Observable.prototype.lift
Re-export
Deprecated
Deprecated

Internal implementation detail, do not use directly. Will be made internal in v8. If you have implemented an operator using lift, it is recommended that you create an operator by simply returning new Observable() directly. See "Creating new operators from scratch" section here: https://rxjs.dev/guide/operators

import { Observable } from "https://deno.land/x/rxjs@v1.0.2/mod.ts";

Creates a new Observable, with this Observable instance as the source, and the passed operator defined as the new observable's operator.

Parameters

optional
operator: Operator<T, R>

the operator defining the operation to take on the observable

Returns

a new observable with the Operator applied