pub struct ParallelAllNode { /* private fields */ }Expand description
The ParallelAllNode execute all its children concurrently, but not in separate threads!
It differs in the way ParallelNode works because the latter may stop and halt other children if a certain number of SUCCESS/FAILURES is reached, whilst this one will always complete the execution of ALL its children.
Note that threshold indexes work as in Python: https://www.i2tutorials.com/what-are-negative-indexes-and-why-are-they-used/
Therefore -1 is equivalent to the number of children.
Implementations§
Source§impl ParallelAllNode
impl ParallelAllNode
pub fn create_node(name: impl AsRef<str>, config: NodeConfig) -> TreeNode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParallelAllNode
impl RefUnwindSafe for ParallelAllNode
impl Send for ParallelAllNode
impl Sync for ParallelAllNode
impl Unpin for ParallelAllNode
impl UnsafeUnpin for ParallelAllNode
impl UnwindSafe for ParallelAllNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more