Skip to content

Support wire action chaining? #96

@tmontes

Description

@tmontes

Instead of:

w = Wires()
w.one_callable.wire(do_this)
w.one_callable.wire(do_that)

Wire action chaining could be supported:

w = Wires()
w.one_callable.wire(do_this).wire(do_that)

Notes:

  • Trivial to implement.
  • Not sure if readability improves or not.
  • If implemented, unwire actions should also be chainable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or capability.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions