Offload functions to worker threads with shared memory primitives for Node.js.
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

at e46aca05dbf9a2204886d23f7ae3b34883f4e5c6 11 lines 259 B view raw
1export const registry = new Map<string, (...args: any[]) => any>(); 2 3const frozen = new Set<string>(); 4 5export function freezeModule(url: string): void { 6 frozen.add(url); 7} 8 9export function isModuleFrozen(url: string): boolean { 10 return frozen.has(url); 11}