@@ -31,3 +31,18 @@ pub enum FlowStatus {
|
||||
Error,
|
||||
Finished,
|
||||
}
|
||||
|
||||
impl Flow {
|
||||
pub fn id(&self) -> u32 {
|
||||
self.id
|
||||
}
|
||||
pub fn caller_id(&self) -> u32 {
|
||||
self.caller_id
|
||||
}
|
||||
pub fn context_id(&self) -> u32 {
|
||||
self.context_id
|
||||
}
|
||||
pub fn jobs(&self) -> &Vec<u32> {
|
||||
&self.jobs
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user