How many different ways you can stop web worker ?

 Posted by Rajkatie on 1/26/2013 | Category: HTML 5 Interview questions | Views: 3782 | Points: 40
Answer:

There are two ways to stop a worker: by calling worker.terminate() from the main page (e.g: .html,.aspx,.php page etc) or by calling self.close() inside of the worker itself(e.g: .js page).


Source: html5rocks.com | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response