Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

switchAll

import { switchAll } from "https://raw.githubusercontent.com/surma/observables-with-streams/28c55be6d855780c677fd1f4ba975f4d3144891d/src/index.ts";

Converts a higher-order Observable into a first-order Observable producing values only from the most recent observable sequence.

function switchAll<T>(): Transform<Observable<T>, T>;
§
switchAll<T>(): Transform<Observable<T>, T>
[src]

§Type Parameters

§Return Type

§

Transform that emits items from the most recent observable emitted by the outer observable.