Skip to main content

supported

Function supported 

Source
pub const fn supported(phase: Lifecycle) -> bool
Expand description

Does the backend compiled into this binary deliver phase? A const fn, so it drives both a runtime guard and the compile-time crate::require_lifecycle! assertion. Agrees with the runtime day_core::lifecycle_supported once the app is running.

Day API ↩ Guides· daybrite.dev