nodo/
runtime_control.rs

1// Copyright 2024 David Weikersdorfer
2
3use crate::prelude::ParameterSet;
4
5#[derive(Debug, Clone)]
6pub enum RuntimeControl {
7    /// Request the runtime to stop. It may take a while for the runtime to shut down as codelets
8    /// will finish stepping and stop will be called for all active codelets.
9    RequestStop,
10
11    /// Requests a configuration change. Configuration changes will be applied after codelet step.
12    Configure(ParameterSet<String, String>),
13}