Name Description Size
PromiseWorker.jsm A wrapper around ChromeWorker with extended capabilities designed to simplify main thread-to-worker thread asynchronous function calls. This wrapper: - groups requests and responses as a method `post` that returns a `Promise`; - ensures that exceptions thrown on the worker thread are correctly deserialized; - provides some utilities for benchmarking various operations. Generally, you should use PromiseWorker.jsm along with its worker-side counterpart PromiseWorker.js. 13141 493
tests 1
worker 2