Function async_dataloader::with_batch_ctx [−][src]
pub fn with_batch_ctx<T>(cb: impl FnOnce(&mut BatchContext) -> T) -> T
Retrieves the batch context from thread local storage
pub fn with_batch_ctx<T>(cb: impl FnOnce(&mut BatchContext) -> T) -> T
Retrieves the batch context from thread local storage