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) 220 B
import { Source, Subscription } from '../wonka_types'; export const subscribe: <A>(f: (x: A) => void) => (source: Source<A>) => Subscription; export const forEach: <A>(f: (x: A) => void) => (source: Source<A>) => void;