Skip to content

Multiple Mediators?? #33

Description

@qikdauie

Hello, in the README.md examples it mentions using the routed_by() method of the Message struct multiple times in reverse order to facilitate mediating with multiple mediators.

This may have worked in <=v0.4.0, but now routed_by() in v0.6.1-v0.7.2 returns a String. The only way that I can see to perform this operation is to call routed_by() once, then calling receive(), then routed_by() again for each remaining mediator, but this does not make any sense because receive will unwrap the message... Please advise.

Also, what If I am trying to mediate a seal_signed() message? seal_signed() returns a String as well, how would I call routed_by on the message after its gone through the seal_signed() method?

Any pointers or advise would be greatly appreciated. Thank you in advance.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions