1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-view-client/src/runtime/host/host-bridge.ts
Items
Functions
By call-graph weight (PageRank; 1.0 is the average function). 25 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| setEventCallbacksrc/runtime/host/host-bridge.ts:82 | fn | 3 | 1 | 1 | 1 | 2.5 | |
| normalizeThreadIdsrc/runtime/host/host-bridge.ts:489 | fn | 4 | 2 | 4 | 0 | 1.9 | |
| dispatchsrc/runtime/host/host-bridge.ts:119 | fn | 137 | 62 | 3 | 22 | 1.6 | |
| storePutsrc/runtime/host/host-bridge.ts:496 | fn | 8 | 2 | 2 | 0 | 1 | |
| storeGetsrc/runtime/host/host-bridge.ts:505 | fn | 8 | 4 | 2 | 0 | 1 | |
| refreshWebSerialPortssrc/runtime/host/host-bridge.ts:270 | fn | 27 | 15 | 1 | 0 | 1 | |
| fillRandomBytessrc/runtime/host/host-bridge.ts:325 | fn | 5 | 2 | 1 | 0 | 1 | |
| cleanupThreadsrc/runtime/host/host-bridge.ts:482 | fn | 6 | 1 | 2 | 0 | 1 | |
| hostCallAsyncsrc/runtime/host/host-bridge.ts:86 | fn | 1 | 1 | 1 | 0 | 0.9 | |
| handleThreadMessagesrc/runtime/host/host-bridge.ts:442 | fn | 31 | 8 | 1 | 3 | 0.7 | |
| safeDispatchsrc/runtime/host/host-bridge.ts:474 | fn | 7 | 3 | 1 | 1 | 0.7 | |
| enumerateDevicessrc/runtime/host/host-bridge.ts:298 | fn | 12 | 3 | 1 | 1 | 0.6 | |
| cryptoRandomsrc/runtime/host/host-bridge.ts:313 | fn | 11 | 5 | 1 | 1 | 0.6 | |
| netFetchMainThreadsrc/runtime/host/host-bridge.ts:333 | fn | 27 | 9 | 1 | 0 | 0.6 | |
| threadSpawnsrc/runtime/host/host-bridge.ts:363 | fn | 40 | 6 | 1 | 2 | 0.6 | |
| threadSendsrc/runtime/host/host-bridge.ts:404 | fn | 7 | 2 | 1 | 1 | 0.6 | |
| threadRecvsrc/runtime/host/host-bridge.ts:412 | fn | 10 | 4 | 1 | 1 | 0.6 | |
| threadJoinsrc/runtime/host/host-bridge.ts:423 | fn | 11 | 7 | 1 | 2 | 0.6 | |
| threadTerminatesrc/runtime/host/host-bridge.ts:435 | fn | 6 | 2 | 1 | 2 | 0.6 | |
| storeDelsrc/runtime/host/host-bridge.ts:514 | fn | 8 | 2 | 1 | 0 | 0.6 | |
| storePutBytessrc/runtime/host/host-bridge.ts:523 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| storeGetBytessrc/runtime/host/host-bridge.ts:527 | fn | 6 | 2 | 1 | 1 | 0.6 | |
| <module>src/runtime/host/host-bridge.ts:1 | fn | 532 | 1 | 0 | 5 | 0.5 | |
| hostCallsrc/runtime/host/host-bridge.ts:97 | fn | 9 | 2 | 0 | 1 | 0.5 | |
| hostEmitsrc/runtime/host/host-bridge.ts:108 | fn | 8 | 2 | 0 | 1 | 0.5 |
Source not readable from this process.