Skip to content

Consider renaming ReceiverStoppedError to ReceiverClosedError #438

@llucax

Description

@llucax

What's needed?

Now that receivers have the close() method, it feels a bit asymmetric to have an exception with Stopped instead of Closed.

Proposed solution

  • Rename ReceiverStoppedError to
  • Add a deprecated alias for ReceiverClosedError named ReceiverStoppedError (to keep backwards compatibility)
  • Remove the deprecated alias in v2

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:coreAffects the core types (`Sender`, `Receiver`, exceptions, etc.)priority:lowThis should be addressed only if there is nothing else on the tabletype:enhancementNew feature or enhancement visitble to userstype:tech-debtImproves the project without visible changes for users

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions