Web workers - How do they work?

后端 未结 2 1730
失恋的感觉
失恋的感觉 2020-12-20 18:40

I\'m trying to understand this example:

HTML (main code):

     
     Test threads fibonacci  
     

        
2条回答
  •  盖世英雄少女心
    2020-12-20 19:36

    I also want to add that you can debug web workers only in Chromium based browsers. You have to select Sources in developer panel and in right column expand bottom line Workers and then choose check box pause on start.

提交回复
热议问题