pub async fn process_batch_output_and_errors<T>(
workspace: &dyn BatchWorkspaceInterface<Item = Arc<dyn GetTargetPathForAIExpansion + Send + Sync>>,
batch_execution_result: &BatchExecutionResult,
expected_content_type: &ExpectedContentType,
) -> Result<(), BatchProcessingError>
Expand description
We add 'static + Send + Sync
to T
, so that storing it in an
Arc<dyn ... + Send + Sync + 'static>
is valid and the resulting
Future
can be Send
.