Dispatch based on bench method

This commit is contained in:
Joscha 2023-08-12 02:26:15 +02:00
parent b23fc6460f
commit 9fc7c22ae8
3 changed files with 45 additions and 1 deletions

View file

@ -0,0 +1,14 @@
use std::sync::{Arc, Mutex};
use tokio::sync::mpsc;
use crate::somehow;
use super::Run;
pub async fn run(
run: Arc<Mutex<Run>>,
abort_rx: mpsc::UnboundedReceiver<()>,
) -> somehow::Result<()> {
todo!()
}

15
src/worker/run/repo.rs Normal file
View file

@ -0,0 +1,15 @@
use std::sync::{Arc, Mutex};
use tokio::sync::mpsc;
use crate::somehow;
use super::Run;
pub async fn run(
run: Arc<Mutex<Run>>,
hash: String,
abort_rx: mpsc::UnboundedReceiver<()>,
) -> somehow::Result<()> {
todo!()
}