Skip to content

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Jun 24, 2024

A little usability improvement. Function instances can now be passed directly to dispatch.New, (e.g. dispatch.New(fn1, fn2) as sugar for endpoint, _ := dispatch.New(); endpoint.Register(fn1); endpoint.Register(fn2))

@chriso chriso self-assigned this Jun 24, 2024
@chriso chriso merged commit 71183d8 into main Jun 24, 2024
@chriso chriso deleted the registration-improvement branch June 24, 2024 22:34
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.

2 participants