repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

commit
924ae1a
parent
26d3da7
author
Eric Bower
date
2024-08-27 17:19:57 +0000 UTC
docs: copy
1 files changed,  +5, -0
M docs/posts/supervisors.md
+5, -0
 1@@ -24,6 +24,11 @@ function* supervisor() {
 2     }
 3   }
 4 }
 5+
 6+function* someTask() {
 7+  yield* sleep(10 * 1000);
 8+  throw new Error("boom!");
 9+}
10 ```
11 
12 Here we `call` some task that should always be in a running and healthy state.