UNPKG

@chainsafe/threads

Version:

Web workers & worker threads as simple as a function call

9 lines (8 loc) 189 B
import { expose } from "./index"; export * from "./index"; if (typeof global !== "undefined") { global.expose = expose; } if (typeof self !== "undefined") { self.expose = expose; }