Skip to content

Conversation

@rnro
Copy link
Contributor

@rnro rnro commented Apr 23, 2025

Motivation:

PendingDatagramWritesManager split close and failAll steps of the failAll method into two explicit methods. This separates concerns and makes future changes more straightforwards.

Modifications:

PendingDatagramWritesManager split close and failAll steps of the failAll method into two explicit methods.

Result:

No behavioral change

Motivation:

PendingDatagramWritesManager split close and failAll steps of the
failAll method into two explicit methods. This separates concerns and
makes future changes more straightforwards.

Modifications:

PendingDatagramWritesManager split close and failAll steps of the
failAll method into two explicit methods.

Result:

No behavioral change
self.failAll(error: error)
}

/// Fail all the outstanding writes. This is useful if for example the `Channel` is closed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be useful to clean up these doc comments and explain where we might do one and the other.

@rnro rnro closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants