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

feat: remove ability to cancel EventLoop.poll() mid execution #421

Merged
merged 9 commits into from
Aug 10, 2022

Conversation

de-sh
Copy link
Contributor

@de-sh de-sh commented Aug 1, 2022

Removes the ability for users to cancel requests while they are being polled within the EventLoop. This feature was deemed to be overkill and hence good to get rid of.

CC @tekjar

@de-sh
Copy link
Contributor Author

de-sh commented Aug 2, 2022

@tekjar shall I remove code associated with cancel() in v4 EventLoop in this PR itself?

@de-sh de-sh changed the title Remove AsyncClient::cancel() feat: remove AsyncClient::cancel() Aug 9, 2022
@de-sh de-sh changed the title feat: remove AsyncClient::cancel() feat: remove ability to cancel EventLoop.poll() mid execution Aug 10, 2022
@de-sh de-sh merged commit e44e265 into master Aug 10, 2022
@de-sh de-sh deleted the remove-cancel branch August 10, 2022 09:09
@de-sh de-sh mentioned this pull request Aug 12, 2022
Closed
carlocorradini pushed a commit to carlocorradini/rumqtt that referenced this pull request Aug 3, 2023
…beamio#421)

Removes the ability for users to cancel requests while they are being polled within the `EventLoop`. 

BREAKING: `AsynClient::cancel()` removed

Reasoning: This feature was deemed to be overkill and hence good to get rid of.

Changes:
* Remove `AsyncClient::cancel()`
* Remove `ClientError::Cancel` variant
* Strip out cancelability from `EventLoop`
* Remove mentions of cancellation as a feature
* docs: add changelog entry

Signed-off-by: Devdutt Shenoi <devdutt@bytebeam.io>

Attribute: @de-sh
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