{"json_modified": "2016-06-12T20:38:52.451911", "uuid": "55ce4f1f-ccd5-4f4d-b956-6fcf12446c9d", "title": "Using workers in extensions", "url": "/en-US/docs/Using_workers_in_extensions", "tags": ["Extensions", "Workers"], "translations": [{"uuid": "51adcb70-25f6-40cd-be1f-1c4ce06f9973", "title": "\u5728 extensions \u4e2d\u4f7f\u7528 workers", "url": "/zh-CN/docs/Using_workers_in_extensions", "tags": [], "summary": "This article shows you how to use worker threads in extensions to perform tasks in the background without blocking the user interface.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-06-12T20:38:48", "review_tags": []}], "modified": "2016-05-31T05:13:33", "label": "Using workers in extensions", "localization_tags": [], "locale": "en-US", "id": 10345, "last_edit": "2016-05-31T05:13:31", "summary": "This article shows you how to use worker threads in extensions to perform tasks in the background without blocking the user interface.", "sections": [{"id": "Download_the_sample", "title": "Download the sample"}, {"id": "How_this_differs_from_previous_versions", "title": "How this differs from previous versions"}, {"id": "The_worker", "title": "The worker"}, {"id": "The_main_thread", "title": "The main thread"}, {"id": "The_startup()_method", "title": "The startup() method"}, {"id": "The_observe()_method", "title": "The observe() method"}, {"id": "The_watchStock()_and_refreshInformation()_methods", "title": "The watchStock() and refreshInformation() methods"}, {"id": "The_onworkermessage()_method", "title": "The onworkermessage() method"}, {"id": "A_note_about_ChromeWorkers", "title": "A note about ChromeWorkers"}, {"id": "See_also", "title": "See also"}], "slug": "Using_workers_in_extensions", "review_tags": []}