UNPKG

multithreading

Version:

The missing standard library for multithreading in JavaScript (Works in the browser, Node.js, Deno, Bun).

7 lines (6 loc) 256 B
type TransferableType = NonNullable<StructuredSerializeOptions["transfer"]>[number]; export type Transferable = TransferableType; export declare const Transferable: { [Symbol.hasInstance](instance: unknown): instance is TransferableType; }; export {};