Orchestration
This is a basic orchestration library written in Rust and still under development
0.2 version now should be able to handle more types
- breaking change, state functions need to return Option instead of Result
- added example for string concatenation
- updated example for calculations
0.1 version only worked with f32
Setup
You define an orchestration function by using state_function! macro
i.e.
let fn1: fn =
state_function!;
A state is defined as follows
You can use the orchestration directly by using
let result = vec!
.execute;
Or by using the registration trait and assigning string names to the orchestration functions. Which can be useful when you want to pass function sequences by configuration
registry.register;
registry.register;
registry.register;
let result = vec!
.create
.execute;
Assigning values to the stage i.e.
stage: vec!,
allows you to bypass certain steps (marked as true, in the sequence)