Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sources/from-iterable"

Index

Functions

Functions

fromIterable

  • fromIterable<T>(it: Iterable<T> | IterableIterator<T>): Observable<T>
  • Creates an observable from a synchronous iterable.

    Type parameters

    • T

      Type of items to be emitted by the observable.

    Parameters

    • it: Iterable<T> | IterableIterator<T>

      Iterable to create an observable from.

    Returns Observable<T>

    New observable that emits values from the iterable.

Generated using TypeDoc