Attribute Macrosยง
- coordinator
- An attribute macro that automatically generate enum dispatch and other boilerplate code for [
TaskProcessor
]. It is recommended to use this macro over writing your own enum dispatch if you have a [TaskProcessor
] that can process more than 1 type of task (Eg: a [CalculatorProcessor
] can handle both plus and mult operations) Please see thecoordinator
crate documentation for examples.