ThreadPool.js A simple non-blocking Promise implementation using Web Worker The implementation says everything: https://github.com/CarterLi/ThreadPool.js/blob/gh-pages/index.ts The article (Chinese): https://segmentfault.com/a/1190000012563475