Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adamhaile/S
/ functions
Functions
154 in github.com/adamhaile/S
⨍
Functions
154
◇
Types & classes
31
↓ 83 callers
Method
data
(value : T)
src/withsubclocks.ts:13
↓ 76 callers
Method
root
(fn : (dispose : () => void) => T)
src/withsubclocks.ts:4
↓ 43 callers
Method
current
()
src/S.ts:200
↓ 25 callers
Function
fn
()
bench/benchNode.js:131
↓ 22 callers
Function
bench
(fn, count, scount)
bench/benchNode.js:45
↓ 20 callers
Method
effect
(fn : () => T)
src/S.ts:10
↓ 19 callers
Method
subclock
()
src/withsubclocks.ts:26
↓ 18 callers
Function
addRes
(a, b)
bench/benchNode.js:55
↓ 17 callers
Function
bench
(fn, count, scount)
bench/bench.js:36
↓ 16 callers
Function
createComputation1
(s1)
bench/benchNode.js:268
↓ 16 callers
Function
createComputation1
(s1)
bench/bench.js:202
↓ 10 callers
Method
on
(ev : () => any, fn : () => T)
src/withsubclocks.ts:9
↓ 10 callers
Method
reset
()
src/withsubclocks.ts:411
↓ 9 callers
Method
next
(value : T)
src/S.ts:204
↓ 8 callers
Function
init
()
spec/S.spec.js:96
↓ 8 callers
Method
time
()
src/S.ts:195
↓ 7 callers
Function
dispose
(node : ComputationNode)
src/S.ts:651
↓ 7 callers
Method
freeze
(fn : () => T)
src/withsubclocks.ts:17
↓ 7 callers
Method
reset
()
src/S.ts:326
↓ 6 callers
Method
value
(value : T, eq? : (a : T, b : T) => boolean)
src/withsubclocks.ts:14
↓ 5 callers
Method
add
(item : T)
src/S.ts:330
↓ 5 callers
Method
add
(item : T)
src/withsubclocks.ts:415
↓ 4 callers
Function
createDataSignals
(n, sources)
bench/benchNode.js:108
↓ 4 callers
Function
createDataSignals
(n, sources)
bench/bench.js:81
↓ 4 callers
Function
init
()
spec/S.subcomputations.spec.js:23
↓ 4 callers
Method
makeComputationNode
(fn : (val : S) => T, seed : S, orphan : boolean, sample : true)
src/S.ts:30
↓ 4 callers
Function
printRes
(name, res)
bench/benchNode.js:51
↓ 4 callers
Function
run
(clock : Clock)
src/withsubclocks.ts:545
↓ 4 callers
Method
run
(fn : (item : T) => void)
src/withsubclocks.ts:419
↓ 4 callers
Method
sample
(fn : () => T)
src/withsubclocks.ts:20
↓ 3 callers
Function
event
()
src/withsubclocks.ts:513
↓ 3 callers
Function
logClockPreClock
(sclock : Clock, rclock : Clock, rnode : ComputationNode)
src/withsubclocks.ts:490
↓ 3 callers
Function
logNodePreClock
(clock : Clock, to : ComputationNode)
src/withsubclocks.ts:483
↓ 3 callers
Function
markClockStale
(clock : Clock)
src/withsubclocks.ts:612
↓ 3 callers
Method
run
(fn : (item : T) => void)
src/S.ts:334
↓ 3 callers
Function
updateClock
(clock : Clock)
src/withsubclocks.ts:627
↓ 2 callers
Function
cleanup
(node : ComputationNode, final : boolean)
src/S.ts:595
↓ 2 callers
Function
cleanup
(node : ComputationNode, final : boolean)
src/withsubclocks.ts:669
↓ 2 callers
Function
cleanupSource
(source : Log, slot : number)
src/S.ts:629
↓ 2 callers
Function
cleanupSource
(source : Log, slot : number)
src/withsubclocks.ts:720
↓ 2 callers
Function
dispose
(node : ComputationNode)
src/withsubclocks.ts:742
↓ 2 callers
Function
event
()
src/S.ts:500
↓ 2 callers
Function
getCandidateNode
()
src/S.ts:413
↓ 2 callers
Function
logRead
(from : Log)
src/S.ts:459
↓ 2 callers
Function
logRead
(from : Log, to : ComputationNode)
src/withsubclocks.ts:443
↓ 2 callers
Function
makeComputationNode
(fn : (v : T | undefined) => T, value : T | undefined, orphan : boolean, sample : boolean)
src/S.ts:360
↓ 2 callers
Method
makeDataNode
(value : T)
src/S.ts:29
↓ 2 callers
Function
markComputationsStale
(log : Log)
src/S.ts:545
↓ 2 callers
Function
markComputationsStale
(log : Log)
src/withsubclocks.ts:578
↓ 2 callers
Function
markNodeStale
(node : ComputationNode)
src/S.ts:558
↓ 2 callers
Function
markNodeStale
(node : ComputationNode)
src/withsubclocks.ts:591
↓ 2 callers
Function
recycleOrClaimNode
(node : ComputationNode, fn : (v : T | undefined) => T, value : T, orphan : boolean)
src/S.ts:420
↓ 2 callers
Function
run
(clock : Clock)
src/S.ts:513
↓ 1 callers
Function
callAll
(ss : (() => any)[])
src/S.ts:109
↓ 1 callers
Function
callAll
(ss : (() => any)[])
src/withsubclocks.ts:168
↓ 1 callers
Function
createComputation0
(i)
bench/benchNode.js:264
↓ 1 callers
Function
createComputation0
(i)
bench/bench.js:198
↓ 1 callers
Function
createComputation1000
(ss, offset)
bench/benchNode.js:284
↓ 1 callers
Function
createComputation1000
(ss, offset)
bench/bench.js:218
↓ 1 callers
Function
createComputation2
(s1, s2)
bench/benchNode.js:272
↓ 1 callers
Function
createComputation2
(s1, s2)
bench/bench.js:206
↓ 1 callers
Function
createComputation4
(s1, s2, s3, s4)
bench/benchNode.js:276
↓ 1 callers
Function
createComputation4
(s1, s2, s3, s4)
bench/bench.js:210
↓ 1 callers
Function
createComputation8
(s1, s2, s3, s4, s5, s6, s7, s8)
bench/benchNode.js:280
↓ 1 callers
Function
createComputation8
(s1, s2, s3, s4, s5, s6, s7, s8)
bench/bench.js:214
↓ 1 callers
Function
execToplevelComputation
(fn : (v : T | undefined) => T, value : T | undefined)
src/S.ts:388
↓ 1 callers
Function
finishToplevelComputation
(owner : ComputationNode | null, listener : ComputationNode | null)
src/S.ts:400
↓ 1 callers
Method
isFrozen
()
src/S.ts:27
↓ 1 callers
Method
isListening
()
src/S.ts:28
↓ 1 callers
Function
logComputationRead
(node : ComputationNode)
src/S.ts:495
↓ 1 callers
Function
logComputationRead
(node : ComputationNode, to : ComputationNode)
src/withsubclocks.ts:478
↓ 1 callers
Function
logDataRead
(data : DataNode)
src/S.ts:490
↓ 1 callers
Function
logDataRead
(data : DataNode, to : ComputationNode)
src/withsubclocks.ts:473
↓ 1 callers
Function
main
()
bench/benchNode.js:11
↓ 1 callers
Function
main
()
bench/bench.js:9
↓ 1 callers
Function
markOwnedNodesForDisposal
(owned : ComputationNode[])
src/S.ts:569
↓ 1 callers
Function
markOwnedNodesForDisposal
(owned : ComputationNode[])
src/withsubclocks.ts:603
↓ 1 callers
Function
run
(fn, n, scount)
bench/benchNode.js:59
↓ 1 callers
Function
run
(fn, n, scount)
bench/bench.js:42
↓ 1 callers
Function
subclock
(fn : () => T)
src/withsubclocks.ts:297
↓ 1 callers
Function
topLevelRoot
(fn : (dispose : () => void) => T, disposer : (() => void) | null, owner : ComputationNode | null)
src/withsubclocks.ts:141
↓ 1 callers
Function
toplevelComputation
(node : ComputationNode)
src/withsubclocks.ts:527
↓ 1 callers
Function
updateNode
(node : ComputationNode)
src/S.ts:578
↓ 1 callers
Function
updateNode
(node : ComputationNode)
src/withsubclocks.ts:649
Function
applyDataChange
(data : DataNode)
src/S.ts:539
Function
applyDataChange
(data : DataNode)
src/withsubclocks.ts:572
Function
browserNow
()
bench/benchNode.js:366
Function
browserNow
()
bench/bench.js:300
Method
cleanup
(fn : (final : boolean) => any)
src/S.ts:24
Method
cleanup
(fn : (final : boolean) => any)
src/withsubclocks.ts:23
Method
clock
()
src/S.ts:199
Method
clock
()
src/S.ts:278
Method
clock
()
src/S.ts:310
Method
constructor
( public value : any )
src/S.ts:245
Method
constructor
()
src/S.ts:296
Method
constructor
( public parent : Clock | null )
src/withsubclocks.ts:333
Method
constructor
( public clock : Clock, public value : any )
src/withsubclocks.ts:357
Method
constructor
( public clock : Clock, public fn : ((v : any) => any) | null, public value : any
src/withsubclocks.ts:375
Function
createComputations0to1
(n, sources)
bench/benchNode.js:154
Function
createComputations0to1
(n, sources)
bench/bench.js:88
next →
1–100 of 154, ranked by callers