risingwave_common::util::epoch::task_local

Function scope

source
pub async fn scope<F>(epoch: EpochPair, f: F) -> F::Output
where F: Future,
Expand description

Provides the given epoch pair in the task local storage for the scope of the given future.