-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(system): Introduce a generic recipient type (#1622)
`Recipient` is a type similar to `Addr`, but it is independent of interfaces. This makes it suitable for inversion of control, where a service would like to send messages to other services without knowing their interfaces. This may not be the final implementation of the IoC pattern. This initial implementation only supports a single message and not entire interfaces (or extending interfaces). It is modeled after `actix::Addr`. In the future, Recipient may be refactored to support entire interfaces.
- Loading branch information
Showing
1 changed file
with
97 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters