FredrikSandell / angular-workers

MIT License
69 stars 25 forks source link

Improve memory usage when the worker promise is used many times. #28

Closed hirohitokato closed 7 years ago

hirohitokato commented 7 years ago

I improved the following points in the code:

And I also changed example(app.js at 28fdebd) so that we can understand that the worker promise is easily reusable. (Ideally, I should prepare 3 workerPromise for each "Execute!" button...)

I would appreciate it if you read my code. 😃

hirohitokato commented 7 years ago

Of course, I don't change the APIs & behaviors for users.

FredrikSandell commented 7 years ago

Looks good. Appreciate you taking the time to improve the code!

hirohitokato commented 7 years ago

Thanks a lot!!