signal-chain
Advanced tools
Comparing version 0.12.2 to 0.12.3
{ | ||
"name": "signal-chain", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"author": "Christoph Franke", | ||
@@ -5,0 +5,0 @@ "description": "Declarative Reactive Programming Library", |
@@ -37,3 +37,3 @@ ![size](https://deno.bundlejs.com/badge?q=signal-chain&treeshake=[{+default+as+$+}]) | ||
const fetchData = $.chain( | ||
input.listen, // listen to changes | ||
input.listen, // when the chain is connected, this will fire on every input change | ||
$.if(input => input.length > 2, | ||
@@ -504,3 +504,3 @@ $.await.latest( // will discard all results but the latest | ||
- `$.error.discard`: Turns an Error value into and undefined. | ||
- `$.error.log.panik`: Throws incoming Error value and breaks the chain. | ||
- `$.error.panik`: Throws incoming Error value and breaks the chain. | ||
@@ -507,0 +507,0 @@ **Array Operators** |
306395