Skip to main content

predict_batch_with_media_parallel

Function predict_batch_with_media_parallel 

Source
pub fn predict_batch_with_media_parallel(
    source: &(dyn ObservableEphemerisSource + Sync),
    requests: &[PredictRequest],
    options: MediaPredictOptions<'_>,
) -> Vec<Result<MediaPredictedObservables, ObservablesError>>
Expand description

Predict media-corrected observables for many requests in parallel.

Each worker evaluates the same scalar predict_with_media path and the indexed parallel collect preserves request order.