UNPKG

@xylabs/threads

Version:

Web workers & worker threads as simple as a function call

11 lines 602 B
/** Symbol key for accessing a thread's error observable. */ export declare const $errors: unique symbol; /** Symbol key for accessing a thread's event observable. */ export declare const $events: unique symbol; /** Symbol key for accessing a thread's terminate function. */ export declare const $terminate: unique symbol; /** Symbol key for marking an object as a transferable descriptor. */ export declare const $transferable: unique symbol; /** Symbol key for accessing the underlying worker instance of a thread. */ export declare const $worker: unique symbol; //# sourceMappingURL=symbols.d.ts.map