re_datafusion::wasm_compat

Function make_future_send

Source
pub async fn make_future_send<F, T>(f: F) -> Result<T, DataFusionError>
where F: Future<Output = Result<T, DataFusionError>> + Send + 'static, T: Send + 'static,
Expand description

This is a no-op on non-Wasm target, because the tonic future are already Send. See wasm version for information.