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/gateway.ts
Items
struct InPageWasmClient struct GatewayClient struct UnavailableClient
Functions
By call-graph weight (PageRank; 1.0 is the average function). 68 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| isNativeClientsrc/runtime/gateway.ts:731 | fn | 3 | 2 | 4 | 0 | 3.3 | |
| GatewayClient::_clientssrc/runtime/gateway.ts:538 | method | 4 | 1 | 2 | 1 | 2.7 | |
| GatewayClient::_orderedClientssrc/runtime/gateway.ts:553 | method | 5 | 2 | 3 | 1 | 2.2 | |
| UnavailableClient::_failedsrc/runtime/gateway.ts:784 | method | 3 | 1 | 4 | 0 | 2.2 | |
| GatewayClient::_orderedClientsForTargetsrc/runtime/gateway.ts:559 | method | 7 | 3 | 9 | 2 | 2.1 | |
| GatewayClient::_callWithFallbacksrc/runtime/gateway.ts:590 | method | 26 | 7 | 6 | 3 | 1.8 | |
| GatewayClient::_readyInfoForsrc/runtime/gateway.ts:241 | method | 16 | 4 | 6 | 0 | 1.8 | |
| targetAllowsClientsrc/runtime/gateway.ts:735 | fn | 4 | 3 | 7 | 1 | 1.7 | |
| hasRuntimeCapabilitysrc/runtime/gateway.ts:706 | fn | 3 | 1 | 5 | 0 | 1.4 | |
| GatewayClient::_callOncesrc/runtime/gateway.ts:570 | method | 19 | 6 | 2 | 3 | 1.1 | |
| GatewayClient::_clientReadyForCallssrc/runtime/gateway.ts:617 | method | 6 | 2 | 1 | 4 | 1 | |
| isOkResultsrc/runtime/gateway.ts:725 | fn | 5 | 4 | 1 | 0 | 1 | |
| isLocalHostnamesrc/runtime/gateway.ts:699 | fn | 6 | 4 | 1 | 0 | 1 | |
| InPageWasmClient::hostCallsrc/runtime/gateway.ts:75 | method | 7 | 5 | 1 | 2 | 0.9 | |
| createWorkerClientsrc/runtime/gateway.ts:791 | fn | 11 | 2 | 1 | 3 | 0.8 | |
| GatewayClient::_bindValidationHostForClientsrc/runtime/gateway.ts:624 | method | 33 | 8 | 2 | 3 | 0.7 | |
| GatewayClient::targetReadysrc/runtime/gateway.ts:260 | method | 6 | 2 | 1 | 2 | 0.7 | |
| UnavailableClient::constructorsrc/runtime/gateway.ts:751 | method | 4 | 1 | 1 | 0 | 0.7 | |
| isClientReadyForCallssrc/runtime/gateway.ts:740 | fn | 9 | 3 | 1 | 0 | 0.7 | |
| GatewayClient::_runtimeClientInstanceIdsrc/runtime/gateway.ts:658 | method | 9 | 4 | 1 | 0 | 0.7 | |
| GatewayClient::constructorsrc/runtime/gateway.ts:143 | method | 31 | 10 | 2 | 2 | 0.7 | |
| GatewayClient::renderViewRouteWithHostsrc/runtime/gateway.ts:287 | method | 56 | 10 | 2 | 4 | 0.7 | |
| withTimeoutsrc/runtime/gateway.ts:710 | fn | 14 | 2 | 1 | 0 | 0.7 | |
| GatewayClient::_readyHybridWithLocalFallbacksrc/runtime/gateway.ts:205 | method | 35 | 11 | 1 | 3 | 0.6 | |
| GatewayClient::_readyClientssrc/runtime/gateway.ts:543 | method | 9 | 3 | 1 | 2 | 0.6 | |
| runtimeSourceModesrc/runtime/gateway.ts:684 | fn | 3 | 2 | 1 | 0 | 0.6 | |
| shouldUseLocalHttpFallbacksrc/runtime/gateway.ts:688 | fn | 10 | 5 | 1 | 1 | 0.6 | |
| InPageWasmClient::modesrc/runtime/gateway.ts:50 | method | 1 | 1 | 0 | 0 | 0.5 | |
| InPageWasmClient::readysrc/runtime/gateway.ts:52 | method | 14 | 3 | 0 | 2 | 0.5 | |
| InPageWasmClient::validatesrc/runtime/gateway.ts:67 | method | 7 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::statussrc/runtime/gateway.ts:83 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::routessrc/runtime/gateway.ts:87 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::listViewssrc/runtime/gateway.ts:91 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::renderViewsrc/runtime/gateway.ts:95 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::viewsrc/runtime/gateway.ts:99 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::viewManifestsrc/runtime/gateway.ts:103 | method | 4 | 2 | 0 | 1 | 0.5 | |
| InPageWasmClient::renderViewRoutesrc/runtime/gateway.ts:108 | method | 7 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::executeProgramsrc/runtime/gateway.ts:116 | method | 8 | 1 | 0 | 1 | 0.5 | |
| InPageWasmClient::destroysrc/runtime/gateway.ts:125 | method | 1 | 1 | 0 | 0 | 0.5 | |
| <module>src/runtime/gateway.ts:1 | fn | 801 | 1 | 0 | 0 | 0.5 | |
| GatewayClient::modesrc/runtime/gateway.ts:175 | method | 3 | 1 | 0 | 0 | 0.5 | |
| GatewayClient::readysrc/runtime/gateway.ts:179 | method | 25 | 10 | 0 | 3 | 0.5 | |
| GatewayClient::bindValidationHostsrc/runtime/gateway.ts:272 | method | 13 | 5 | 0 | 4 | 0.5 | |
| GatewayClient::validatesrc/runtime/gateway.ts:344 | method | 16 | 5 | 0 | 3 | 0.5 | |
| GatewayClient::statussrc/runtime/gateway.ts:361 | method | 12 | 5 | 0 | 3 | 0.5 | |
| GatewayClient::routessrc/runtime/gateway.ts:374 | method | 12 | 5 | 0 | 3 | 0.5 | |
| GatewayClient::listViewssrc/runtime/gateway.ts:387 | method | 21 | 9 | 0 | 2 | 0.5 | |
| GatewayClient::renderViewsrc/runtime/gateway.ts:409 | method | 20 | 7 | 0 | 1 | 0.5 | |
| GatewayClient::viewsrc/runtime/gateway.ts:430 | method | 14 | 5 | 0 | 1 | 0.5 | |
| GatewayClient::viewManifestsrc/runtime/gateway.ts:445 | method | 17 | 8 | 0 | 2 | 0.5 | |
| GatewayClient::renderViewRoutesrc/runtime/gateway.ts:463 | method | 33 | 9 | 0 | 2 | 0.5 | |
| GatewayClient::executeProgramsrc/runtime/gateway.ts:497 | method | 11 | 2 | 0 | 1 | 0.5 | |
| GatewayClient::hostCallsrc/runtime/gateway.ts:510 | method | 8 | 5 | 0 | 0 | 0.5 | |
| GatewayClient::workersrc/runtime/gateway.ts:520 | method | 9 | 4 | 0 | 0 | 0.5 | |
| GatewayClient::destroysrc/runtime/gateway.ts:530 | method | 7 | 2 | 0 | 0 | 0.5 | |
| createGatewaysrc/runtime/gateway.ts:669 | fn | 14 | 4 | 0 | 4 | 0.5 | |
| UnavailableClient::modesrc/runtime/gateway.ts:756 | method | 1 | 1 | 0 | 0 | 0.5 | |
| UnavailableClient::readysrc/runtime/gateway.ts:758 | method | 3 | 1 | 0 | 0 | 0.5 | |
| UnavailableClient::validatesrc/runtime/gateway.ts:762 | method | 1 | 1 | 0 | 1 | 0.5 | |
| UnavailableClient::statussrc/runtime/gateway.ts:763 | method | 1 | 1 | 0 | 1 | 0.5 | |
| UnavailableClient::routessrc/runtime/gateway.ts:764 | method | 1 | 1 | 0 | 1 | 0.5 | |
| UnavailableClient::listViewssrc/runtime/gateway.ts:765 | method | 3 | 1 | 0 | 0 | 0.5 | |
| UnavailableClient::renderViewsrc/runtime/gateway.ts:768 | method | 3 | 1 | 0 | 0 | 0.5 | |
| UnavailableClient::viewsrc/runtime/gateway.ts:771 | method | 1 | 1 | 0 | 0 | 0.5 | |
| UnavailableClient::viewManifestsrc/runtime/gateway.ts:772 | method | 1 | 1 | 0 | 0 | 0.5 | |
| UnavailableClient::renderViewRoutesrc/runtime/gateway.ts:773 | method | 8 | 1 | 0 | 0 | 0.5 | |
| UnavailableClient::executeProgramsrc/runtime/gateway.ts:781 | method | 1 | 1 | 0 | 1 | 0.5 | |
| UnavailableClient::destroysrc/runtime/gateway.ts:782 | method | 1 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.