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 e2cebd539403475e2f4e79d55ca1a84a0ce3510d 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}