Skip to main content

stage

Function stage 

Source
pub fn stage<A: ResourceApp>(
    harness: &mut FrameHarness,
    scenario: Option<&str>,
) -> Result<(), LaunchError>
Expand description

Stage scenario (None for a plain --shots) on a running A: apply its resource actions through the host’s door, then let its views and surfaces stage their view state, and run the frames that settles.

§Errors

Returns the host’s refusal of a scenario action, or an error when the harness does not host A.