Skip to content

Conversation

@Vilsol
Copy link

@Vilsol Vilsol commented Sep 29, 2025

Added InvokeAsAll and MustInvokeAsAll functions to enable bulk service invocation - retrieving all services that implement a specific interface as a slice.

I added both godoc as well as regular docs, but open to any changes to them.

It has deterministic ordering by service name for consistency.

One change that can be discussed: if no services match the invocation, then an empty list is returned instead of an error/panic. I consider it a valid case that no services might match.

Relates to #114, #33 and #29

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