Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/stream_observables/transforms/mod.ts>switchAll

A collection of observables built with ReadableStreams & friends.
Latest
function switchAll
Re-export
import { switchAll } from "https://deno.land/x/stream_observables@v1.3/transforms/mod.ts";

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

Returns

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