Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/andywer/threads.js
/ finish
Function
finish
test/workers/minmax.ts:10–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
9
const
minmax = {
10
finish() {
11
subject.complete()
12
subject =
new
Subject()
13
},
14
push(value) {
15
max = Math.max(max, value)
16
min = Math.min(min, value)
Callers
nothing calls this directly
Calls
1
complete
Method · 0.45
Tested by
no test coverage detected