Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/W4G1/multithreading
/ function_in_same_file.ts
File
function_in_same_file.ts
examples/function_in_same_file.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ move, spawn } from
"multithreading"
;
2
3
// Note: Has to be exported
4
export
function
sum(a: number, b: number) {
Callers
nothing calls this directly
Calls
4
spawn
Function · 0.85
move
Function · 0.85
sum
Function · 0.85
join
Method · 0.80
Tested by
no test coverage detected