Skip to main content

handle_lifecycle_when_phase

Function handle_lifecycle_when_phase 

Source
pub async fn handle_lifecycle_when_phase(
    Runtime: Arc<ApplicationRunTime>,
    Args: Vec<Value>,
) -> Result<Value, String>
Expand description

Wait (poll) until the application reaches at least the requested phase. Returns immediately if the phase has already been reached.