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.

Add convenience Types module to main callbag.re

+5 -4
+2
src/callbag.re
··· 1 1 open Callbag_types; 2 2 open Callbag_helpers; 3 3 4 + module Types = Callbag_types; 5 + 4 6 let fromList = (l, sink) => { 5 7 let restL = ref(l); 6 8
+3 -4
src/callbag_types.re
··· 1 1 /* 2 - A sink has the signature: `signalT('a) => unit` 3 - A source thus has the signature: `sink => unit`, or `(signalT('a) => unit) => unit` 4 - */ 5 - 2 + A sink has the signature: `signalT('a) => unit` 3 + A source thus has the signature: `sink => unit`, or `(signalT('a) => unit) => unit` 4 + */ 6 5 type talkbackT = 7 6 | Pull 8 7 | End;