Skip to main content

with_persistence_level_async

Function with_persistence_level_async 

Source
pub async fn with_persistence_level_async<R, F: Future<Output = R>>(
    level: PersistenceLevel,
    f: impl FnOnce() -> F,
) -> R
Expand description

Executes the given async function with the oplog persistence level set to the given value.