operon 0.7.0

A workflow engine for parallel, incremental scheduling of DAG-defined multiplex tasks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::ui::UiMode;

pub(crate) struct SchedulerOptions {
    pub(crate) internal_channel_size: usize,
    pub(crate) ui_mode: UiMode,
}

impl SchedulerOptions {
    pub(crate) fn split(self) -> (usize, UiMode) {
        (self.internal_channel_size, self.ui_mode)
    }
}