UNPKG

callbag-scan

Version:

Callbag operator that combines consecutive values from the same source

7 lines (5 loc) 152 B
import { Source } from 'callbag'; export default function scan<I, O>( reducer: (acc: O, d: I) => O, seed?: O, ): (source: Source<I>) => Source<O>;