Dispatch based on bench method
This commit is contained in:
parent
b23fc6460f
commit
9fc7c22ae8
3 changed files with 45 additions and 1 deletions
14
src/worker/run/internal.rs
Normal file
14
src/worker/run/internal.rs
Normal 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
15
src/worker/run/repo.rs
Normal 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!()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue