anoma / juvix

A language for intent-centric and declarative decentralised applications
https://docs.juvix.org
GNU General Public License v3.0
443 stars 54 forks source link

Improve parallel template #2809

Closed janmasrovira closed 3 weeks ago

janmasrovira commented 3 weeks ago

Now we properly wait for the log and worker threads to finish instead of keeping them alive until the main thread dies.

Also, because we are now using replicateConcurrently_ from async, any exception in a worker thread should be properly propagated.