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.

1import { mo } from '../../src/index.ts'; 2 3export const square = mo(import.meta, (n: number): number => { 4 return n * n; 5}); 6 7export const add = mo(import.meta, (a: number, b: number): number => { 8 return a + b; 9});