dreamcatcher-tech / dreamcatcher-stack

https://dreamcatcher.land
1 stars 0 forks source link

Be able to fire off multiple add commands in parallel #174

Open inverted-capital opened 7 months ago

inverted-capital commented 7 months ago

In shell, we have to do this:

await interchain(addHal);
await interchain(addGoalie);
await interchain(addGoalieAI);

When it would be preferrable to do:

await Promise.all([
    interchain(addHal)
    interchain(addGoalie)
    interchain(addGoalieAI)
])