Skip to content

Workflow integration of custom events #1916

@danieltudosiu

Description

@danieltudosiu

Is your feature request related to a problem? Please describe.
Make Workflow class automatically register given events at construction.

Describe the solution you'd like
Allow the Workflow class to receive a list of custom Events that need to be registered with it at construction time.

This is needed since you already allow handlers to be passed at construction so if some of them required custom events it will error out.

Describe alternatives you've considered
Register the custom events post instantiation and then attach the handler. But it is more "dirty".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions