Register handlers for [`NodeType::Condition`] nodes (e.g. from Python callables).
(
mut self,
handlers: HashMap<String, ConditionalRouteFn>,
)
| 226 | |
| 227 | /// Register handlers for [`NodeType::Condition`] nodes (e.g. from Python callables). |
| 228 | pub fn with_conditional_handlers( |
| 229 | mut self, |
| 230 | handlers: HashMap<String, ConditionalRouteFn>, |
| 231 | ) -> Self { |
| 232 | self.conditional_handlers = Arc::new(handlers); |
| 233 | self |
| 234 | } |
| 235 | |
| 236 | /// Disable retries |
| 237 | pub fn without_retries(mut self) -> Self { |
no outgoing calls
no test coverage detected