Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/job.rs')
| -rw-r--r-- | helix-view/src/job.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/helix-view/src/job.rs b/helix-view/src/job.rs index 17fdc85f..b709bfb6 100644 --- a/helix-view/src/job.rs +++ b/helix-view/src/job.rs @@ -76,13 +76,6 @@ impl Jobs { } } - pub async fn next_job(&mut self) -> Option<anyhow::Result<Option<Callback>>> { - tokio::select! { - event = self.futures.next() => { event } - event = self.wait_futures.next() => { event } - } - } - pub fn add(&self, j: Job) { if j.wait { self.wait_futures.push(j.future); |