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

fromIterable

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

Creates an observable from a synchronous iterable.

function fromIterable<T>(it: Iterable<T> | IterableIterator<T>): Observable<T>;
§
fromIterable<T>(it: Iterable<T> | IterableIterator<T>): Observable<T>
[src]

§Type Parameters

§Parameters

§
it: Iterable<T> | IterableIterator<T>
[src]

Iterable to create an observable from.

§Return Type

§

New observable that emits values from the iterable.