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

mergeWith

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

Merges another observable by emitting all items from both the original observable and the other observable. Items are emitted in the order they appear.

function mergeWith<S, T>(other: Observable<T>): Transform<S, S | T>;
§
mergeWith<S, T>(other: Observable<T>): Transform<S, S | T>
[src]

§Type Parameters

§Parameters

§
other: Observable<T>
[src]

Other observable to merge with.

§Return Type

§
Transform<S, S | T>
[src]

Transform that emits items from both observables.