whortaneto / chimera-js

Javascript library to facilitate the use of the web workers api.
MIT License
4 stars 0 forks source link

New API Suggestion #12

Open whortaneto opened 7 years ago

whortaneto commented 7 years ago

Make this api possible:

Chimera.executeInWorker(
     param1,
     param2,
     (param1, param2) => {
       //function
     }
).then((result) => {
  // using result from function.
})