bpm-engine-runtime 0.2.0

BPM engine runtime: dispatcher, executor, timers, and event handling
Documentation
1
2
3
4
5
6
7
8
9
use bpm_engine_core::{Node, ProcessInstance, Token};

pub struct ExecutionContext<'a> {
    pub instance: &'a mut ProcessInstance,
}

pub trait NodeExecutor {
    fn execute(&self, node: &Node, token: &mut Token, ctx: &mut ExecutionContext<'_>);
}