//! State flush scheduling types and functions.
//!
//! The [`StateFlush`] schedule handles all [`State`](crate::state::State) flush logic
//! and emits [`StateFlushMessage`](flush_message::StateFlushMessage).
pub use ApplyFlushSystems;
pub use ResolveStateSystems;
use ;
use ScheduleLabel;
/// The schedule that handles all [`State`](crate::state::State) flush logic, added before
/// [`PreUpdate`](bevy_app::PreUpdate) by [`StatePlugin`](crate::setup::StatePlugin).
///
/// State flush hooks run in [`ResolveStateSystems::<S>::Flush`] and the flush is applied in
/// [`ApplyFlushSystems`].
;