UNPKG

coincident

Version:

An Atomics based Proxy to simplify, and synchronize, Worker related tasks

12 lines (9 loc) 272 B
// this file exists only to please JSDoc TS /** @typedef {Record<string, function>} Proxy */ export class CoincidentWorker extends Worker { constructor(url, options) { super(url, { ...options, type: 'module' }); /** @type {Proxy} */ this.proxy = {}; } }