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

x/stream_observables/mod.ts>window

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

Branches out the source observable as nested observables whenever notifier emits.

Parameters

notifier: Observable<unknown>

Observable that emits when a branch should be created.

Returns

Transform that emits an observable with a subset of items from the original observable.