Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update operators.md (#78)

- add an initialValue to the TypeScript `scan` example

authored by

Will Golledge and committed by
GitHub
3e1c166b 86a6f70d

+1 -1
+1 -1
docs/api/operators.md
··· 512 512 513 513 pipe( 514 514 fromArray([1, 2, 3, 4, 5, 6]), 515 - scan((acc, val) => acc + val), 515 + scan((acc, val) => acc + val, 0), 516 516 subscribe(val => console.log(val)) 517 517 ); 518 518