andywer / threads.js

🧵 Make web workers & worker threads as simple as a function call.
https://threads.js.org/
MIT License
3.04k stars 161 forks source link

Added promise observables #476

Open balbatross opened 1 year ago

balbatross commented 1 year ago

Added a second stage to the runFunction function that checks a promise after resolving and sends observable if it was an observable inside a promise

Fixes #475