MCPcopy Index your code
hub / github.com/microsoft/SandDance / between

Function between

docs/app/js/sanddance-app.js:107787–107792  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

107785 return s;
107786 },
107787 between (a, b) {
107788 let active = false;
107789 a.targets().add(stream(null, null, ()=>active = true));
107790 b.targets().add(stream(null, null, ()=>active = false));
107791 return this.filter(()=>active);
107792 },
107793 detach () {
107794 // ensures compatibility with operators (#2753)
107795 // remove references to other streams and filter functions that may

Callers

nothing calls this directly

Calls 3

streamFunction · 0.70
addMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected