WebWorker语法糖SugarWorker.zip
SugarWorker —— 轻松的使用web多线程技术; webWorker var lsitWorker = new Worker('core/listWorker.js'); lsitWorker.onmessage = function(e){ if(e.data){ listWorker.postMessage('new test data'); } ...(response) console.log(e); lsitWorker.terminate(); }; listWorker.onerror = fun
文件列表
SugarWorker-master.zip
(预估有个9文件)
SugarWorker-master
README.md
2KB
src
SugarWorker.js
2KB
LICENSE.md
1KB
example
test.html
1KB
br.js
38KB
module.html
802B
eventTest.html
774B
暂无评论