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:
parent
9986e526e5
commit
412c0ff7dc
9 changed files with 1810 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue