Skip to content

Accept any action type#73

Open
avarabyeu wants to merge 3 commits intoinfracloudio:developfrom
avarabyeu:develop
Open

Accept any action type#73
avarabyeu wants to merge 3 commits intoinfracloudio:developfrom
avarabyeu:develop

Conversation

@avarabyeu
Copy link
Copy Markdown

The PR makes activity Handler interface more generic which allows writing custom implementations with support of any action types. Adds HandlerFuncsMap struct as an example of the handler that maps handler by action type via map.
The change is backward-compatible, so none of existing library users should be affected.

Related to: #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant