pub fn lifecycle_supported(phase: Lifecycle) -> boolExpand description
Does the running backend deliver phase? Use this to guard registration at runtime:
if day::lifecycle_supported(Lifecycle::DidEnterBackground) { on_lifecycle(...) }.
Returns the universal answer (phase.is_universal()) if called before the backend is up.