Expand description
Central command dispatcher routing UI requests to the correct provider. Central request dispatcher that routes commands from the Sky frontend and Cocoon sidecar into strongly-typed ActionEffects executed by the runtime.
Modulesยง
- Effect
- Effect creation and routing.
Effect creation and routing for
Track. Two siblings:CreateEffectForRequest::Fn(the central router with one domain sub-module per file) andMappedEffectType::MappedEffect(the typed result alias). Nopub usere-exports - callers spell the full path. - Frontend
Command - Frontend command dispatch handling.
Frontend command dispatch. Callers spell
Track::FrontendCommand::DispatchFrontendCommand::DispatchFrontendCommand. - Side
CarRequest - Sidecar RPC request dispatch handling.
Sidecar request dispatch. Callers spell
Track::SideCarRequest::DispatchSideCarRequest::DispatchSideCarRequest. - UIRequest
- UI request-response result handling.
UI request resolution. Single Tauri command lives in
ResolveUIRequest.rs; callers spellTrack::UIRequest::ResolveUIRequest::ResolveUIRequest. - Webview
- Webview message forwarding.
Webview-guest message forwarding. Callers spell
Track::Webview::MountainWebviewPostMessageFromGuest::MountainWebviewPostMessageFromGuest.