pub async fn with_timeout<F, T>(
future: F,
timeout_duration: Duration,
) -> ObnizResult<T>where
F: Future<Output = ObnizResult<T>>,Expand description
Timeout helper for operations
pub async fn with_timeout<F, T>(
future: F,
timeout_duration: Duration,
) -> ObnizResult<T>where
F: Future<Output = ObnizResult<T>>,Timeout helper for operations