repos / starfx

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

commit
59b037d
parent
e12acac
author
Eric Bower
date
2023-12-12 02:52:33 +0000 UTC
docs: readme
1 files changed,  +3, -0
M README.md
+3, -0
 1@@ -245,6 +245,9 @@ function* supervisor() {
 2 Here we call some task that should always be in a running and healthy state. If
 3 it raises an exception, we log it and try to run the task again.
 4 
 5+Building on top of that simple supervisor, we can have tasks that always listen
 6+for events and if they fail, restart them.
 7+
 8 ```ts
 9 import { parallel, run, takeEvery } from "starfx";
10