MCPcopy Create free account
hub / github.com/PerroEngine/Perro / pending_route_slot

Function pending_route_slot

perro_source/api_modules/perro_web/src/lib.rs:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52fn pending_route_slot() -> &'static Mutex<Option<String>> {
53 static SLOT: OnceLock<Mutex<Option<String>>> = OnceLock::new();
54 SLOT.get_or_init(|| Mutex::new(None))
55}
56
57#[cfg(target_arch = "wasm32")]
58fn router_init_slot() -> &'static OnceLock<()> {

Callers 2

set_pending_route_changeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected