UNPKG

wonka

Version:

A fast push & pull stream library for Reason, loosely following the [callbag spec](https://github.com/callbag/callbag)

5 lines (3 loc) 199 B
import { Source, Operator } from '../wonka_types'; export const switchMap: <A, B>(f: (value: A) => Source<B>) => Operator<A, B>; export const switchAll: <A>(source: Source<Source<A>>) => Source<A>;