Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ router_init_slot
Function
router_init_slot
perro_source/api_modules/perro_web/src/lib.rs:58–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
56
57
#[cfg(target_arch =
"wasm32"
)]
58
fn router_init_slot() -> &'static OnceLock<()> {
59
static INIT: OnceLock<()> = OnceLock::new();
60
&INIT
61
}
62
63
#[cfg(target_arch =
"wasm32"
)]
64
fn set_pending_route_change(href: &str) {
Callers
1
init_router_impl
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected