doc: add cancellation safe comment

This commit is contained in:
Joonas Koivunen
2023-08-28 14:41:43 +03:00
parent 355ea43ac7
commit d5ac61d566

View File

@@ -165,6 +165,8 @@ impl Layer {
///
/// If for a bad luck or blocking of the executor, we miss the actual eviction and the layer is
/// re-downloaded, [`EvictionError::Downloaded`] is returned.
///
/// Cancellation safe.
pub(crate) async fn evict_and_wait(
&self,
rtc: &RemoteTimelineClient,