Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: rename AsyncOneshotSendExt to OneshotSender, remove TokioOneShotSender #1157

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Jul 8, 2024

Changelog

Change: rename AsyncOneshotSendExt to OneshotSender, remove TokioOneShotSender

Removal of TokioOneShotSender: Previously,
TokioOneShotSender(tokio::sync::oneshot::Sender) was used to
implement Debug for a oneshot sender. Given that Debug
implementation is not a mandatory requirement, TokioOneShotSender is
no longer necessary and has been removed.

Rename AsyncOneshotSendExt to OneshotSender: The renaming
reflects a more streamlined and intuitive naming convention.

Upgrade tip:

  • rename AsyncOneshotSendExt to OneshotSender


This change is Reviewable

…oOneShotSender`

**Removal of `TokioOneShotSender`:** Previously,
`TokioOneShotSender(tokio::sync::oneshot::Sender)` was used to
implement `Debug` for a oneshot sender. Given that `Debug`
implementation is not a mandatory requirement, `TokioOneShotSender` is
no longer necessary and has been removed.

**Rename `AsyncOneshotSendExt` to `OneshotSender`:** The renaming
reflects a more streamlined and intuitive naming convention.

Upgrade tip:

- rename `AsyncOneshotSendExt` to `OneshotSender`

---

- `AsyncOneshotSendExt` and `TokioOneShotSender` are introduced in databendlabs#1026
@drmingdrmer drmingdrmer merged commit 6ffcd2c into databendlabs:main Jul 8, 2024
30 of 31 checks passed
@drmingdrmer drmingdrmer deleted the 93-simplify-oneshot branch July 8, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant