Register an [Activity] with this Workflow. `activity` - the [Activity] to register
(&self, activity: &Activity)
| 342 | /// |
| 343 | /// * `activity` - the [Activity] to register |
| 344 | pub fn register_activity(&self, activity: &Activity) -> Result<Ref<Activity>, ()> { |
| 345 | self.register_activity_with_subactivities::<Vec<String>>(activity, vec![]) |
| 346 | } |
| 347 | |
| 348 | /// Register an [Activity] with this Workflow. |
| 349 | /// |