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

window

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

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

function window<T>(notifier: Observable<unknown>): Transform<T, Observable<T>>;
§
window<T>(notifier: Observable<unknown>): Transform<T, Observable<T>>
[src]

§Type Parameters

§Parameters

§
notifier: Observable<unknown>
[src]

Observable that emits when a branch should be created.

§Return Type

§

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