76

前端er来学习一下webWorker吧

 5 years ago
source link: https://juejin.im/post/5bf8fa045188252f170e0dcb
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
webWorker 是什么[webWorker 快速上手] 我们都知道,JavaScript 是单线程的,在同一时刻只能处理一个任务,我们会通过 setTimeout()、setInterval()、ajax 和事件处理程序等技术模拟“并行”。但都不是真正意义

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK