Skip to main content

request_route

Function request_route 

Source
pub fn request_route(route: &str)
Expand description

Ask the app to navigate, from anywhere, at any time.

Cold start (a tap that launches the process) and warm tap (the app is already running) are the same call: before launch the route is buffered and launch_with applies it after the first mount, so it lands once routes actually exist; after launch it is applied on the UI thread. An empty route is ignored, and the newest request wins — a user who taps twice gets the second destination.

Day API ↩ Guides· daybrite.dev