pub async fn prepare_owned(
pool: &SqlitePool,
args: TuneArgs,
app_config: &BhtuneConfig,
demo_session_id: i64,
) -> Result<PreparedTune>Expand description
Prepare a simulator tune and bind its history to a demo session before the background execution is started. Live OPC DA preparation is intentionally rejected by this helper.