Unified worklet execution method
At the moment, simple worklets are explicitly dispatched, while complex/multistep worklets have a Run
method that manages multiple dispatches internally.
Worklet invocation should not depend on the complexity of the worklet and there should be a standard entry point for executing them.
I propose that all public-facing worklets should have a Run
method, even if it just wraps a simple dispatch call. This will also help users identify the entry point to complex worklets that have multiple classes defined in their headers.
I'm not sure whether the template arguments and function parameters should be standardized as well, or if just having a clear entry point would be enough. Thoughts?