Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,913 · python 20,426 · 6,405 files · digest 00b5738199cb · built in 1.3 s · crystals off

create_handler

cre8_app_energy::connection::create_handler

fn · cre8-app-energy · crates/cre8-app-energy/src/connection.rs:227

28lines
2cyclomatic
1max nesting
12statements
7? exits
3params
1callers
7callees
0.7 (p60)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (1 direct callers, 7 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 5 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 3 sitesname · 1 sitepath · 1 sitemethod · 6 sitesmethod · 3 sitesname · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitehandle_energy_create_siteapp-energy · cc 1cre8_app_energy::connection::handle_energy_create_sitecreate_handlerapp-energy · cc 2cre8_app_energy::connection::create_handlerwith_graph_mutapp-protocol · cc 9cre8_app_protocol::graph_store::with_graph_mutnow_ms_i64platform-time · cc 1cre8_platform_time::now_ms_i64caller_identity_from_actorruntime-app-types · cc 1cre8_runtime_app_types::caller::caller_identity_from_actorEnergySite::newapp-energy · cc 1cre8_app_energy::model::EnergySite::newSiteKind::parseapp-energy · cc 3cre8_app_energy::sim::SiteKind::parseupsert_siteapp-energy · cc 1cre8_app_energy::model::upsert_siterequiredapp-energy · cc 1cre8_app_energy::connection::requirednow_msplatform-time · cc 1cre8_platform_time::now_msMutex::lock_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::Mutex::lock_or_recoverHoldingProtocolStore::enterapp-protocol · cc 1cre8_app_protocol::graph_store::HoldingProtocolStore::entervidutil-graph-vertex · cc 1cre8_util_graph_vertex::vidopen_protocol_graphapp-protocol · cc 1cre8_app_protocol::graph_store::open_protocol_graphambient_protocol_storeapp-protocol · cc 1cre8_app_protocol::graph_store::ambient::ambient_protocol_storelive_protocol_store_for_fal…app-protocol · cc 2cre8_app_protocol::graph_store::live_protocol_store_for_fallbackupsert_vertexutil-graph-vertex · cc 2cre8_util_graph_vertex::upsert_vertexHyperDbProtocolStore::graph…app-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graph_mutbucket_floorapp-energy · cc 1cre8_app_energy::sim::bucket_floor

Control flow

Source not readable from this process.

Callers 1

Callees 7

Source not readable from this process.