repos / starfx

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

commit
6f04a24
parent
7754e1f
author
Eric Bower
date
2024-02-15 04:13:05 +0000 UTC
docs: api work
1 files changed,  +13, -0
M docs/posts/api.md
+13, -0
 1@@ -4,3 +4,16 @@ description: Our API for public consumption
 2 ---
 3 
 4 WIP
 5+
 6+# `parallel`
 7+
 8+This is `Promise.all` on steroids and doesn't cancel all other tasks when one
 9+fails.
10+
11+It can wait for all tasks to complete, receive them in the order in which they
12+were created, or receive them in the order in which they were completed. They
13+are safe, meaning one task won't crash another one -- or the parent task.
14+
15+# `race`
16+
17+# `safe`