We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcb310 commit 91f2b51Copy full SHA for 91f2b51
crates/bevy_app/src/app.rs
@@ -920,6 +920,11 @@ fn run_once(mut app: App) {
920
app.update();
921
}
922
923
-/// An event that indicates the [`App`] should exit. This will fully exit the app process.
+/// An event that indicates the [`App`] should exit. This will fully exit the app process at the
924
+/// start of the next tick of the schedule.
925
+///
926
+/// You can also use this event to detect that an exit was requested. In order to receive it, systems
927
+/// subscribing to this event should run after it was emitted and before the schedule of the same
928
+/// frame is over.
929
#[derive(Debug, Clone, Default)]
930
pub struct AppExit;
0 commit comments