turbo_tasks/collectibles.rs
1use auto_hash_map::AutoSet;
2
3use crate::{ResolvedVc, VcValueTrait};
4
5/// Implemented on `OperationVc` and `RawVc`.
6pub trait CollectiblesSource {
7 fn take_collectibles<T: VcValueTrait>(self) -> AutoSet<ResolvedVc<T>>;
8 fn peek_collectibles<T: VcValueTrait>(self) -> AutoSet<ResolvedVc<T>>;
9}