Add fs2
Co-Authored-By: Max <max@zed.dev> Co-Authored-By: Conrad <conrad.irwin@gmail.com> Co-Authored-By: Kyle <kyle@zed.dev>
This commit is contained in:
co-authored by
Max
Conrad
Kyle
parent
9986e526e5
commit
412c0ff7dc
@@ -207,8 +207,8 @@ impl Executor {
|
||||
}
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub async fn simulate_random_delay(&self) {
|
||||
todo!("simulate_random_delay")
|
||||
pub fn simulate_random_delay(&self) -> impl Future<Output = ()> {
|
||||
self.dispatcher.as_test().unwrap().simulate_random_delay()
|
||||
}
|
||||
|
||||
pub fn num_cpus(&self) -> usize {
|
||||
|
||||
Reference in New Issue
Block a user