pub fn exec_sched_multi<T: Executable<Error = E> + Send + 'static + ?Sized, E: Send + 'static>(
task_name: &'static str,
executable_vec: Vec<Box<T>>,
task_freq: Option<Duration>,
op_code: i32,
termination: Option<BusReader<()>>,
) -> Result<JoinHandle<Result<OpResult, E>>, Error>Available on crate feature
std only.Expand description
This function allows executing multiple tasks as long as the tasks implement the Executable trait
ยงArguments
executable_vec: Vector of executable objectstask_freq: Optional frequency of task. Required for periodic and fixed cycle tasksop_code: Operation code which is passed to the executable task operation calltermination: Optional termination handler which can cancel threads with a broadcast