UNPKG

@xylabs/threads

Version:

Web workers & worker threads as simple as a function call

6 lines (5 loc) 253 B
export const $errors = Symbol('thread.errors') export const $events = Symbol('thread.events') export const $terminate = Symbol('thread.terminate') export const $transferable = Symbol('thread.transferable') export const $worker = Symbol('thread.worker')