pub async fn simulate_from_source(
vpl: &str,
events: Vec<Event>,
) -> Result<Vec<Event>>Expand description
Run a VPL program against a list of events and collect output events.
This is the testable core of the simulate command — parses VPL source,
loads it into an engine, processes all input events, and returns emitted events.