Skip to main content

scope

Function scope 

Source
pub async fn scope<ResultValue>(
    usage: Arc<Mutex<InferenceUsage>>,
    operation: impl Future<Output = ResultValue>,
) -> ResultValue