Skip to content

Support chaining #13

@jacobtoye

Description

@jacobtoye

Have you through of adding chaining to subscribe, once and remove methods?

E.g.

Mediator
     .subscribe('channe:one', doOne)
     .subscribe('channel:two', doTwo)
     .subscribe('channe:three', doThree)

I notice subscribe and once return the subscriber. What is the use case for this?

If this would be a positive change I'd be happy to submit a pull.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions