MCPcopy Create free account
hub / github.com/W4G1/multithreading / sum

Function sum

examples/function_in_same_file.ts:4–6  ·  view source on GitHub ↗
(a: number, b: number)

Source from the content-addressed store, hash-verified

2
3// Note: Has to be exported
4export function sum(a: number, b: number) {
5 return a + b;
6}
7
8const handle = spawn(move(5, 10), async (n1, n2) => {
9 const { sum } = await import("./function_in_same_file.ts");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected