⏱⚡ Async Pipelines
If your functions return promises:
1api.use("delay", async s => {2 await new Promise(r => setTimeout(r, 100));3 return s + " done";4});6await api.delay.asyncDone("task");
If your functions return promises:
1api.use("delay", async s => {2 await new Promise(r => setTimeout(r, 100));3 return s + " done";4});6await api.delay.asyncDone("task");