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