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

Refactor send api #265

Merged
merged 3 commits into from
Apr 29, 2021
Merged

Refactor send api #265

merged 3 commits into from
Apr 29, 2021

Conversation

ChrisKujawa
Copy link
Collaborator

Refactors the send api a little.

  • Add Cancellation to other send method as well
  • use cancellation token in worker everywhere
  • simplify impl

This makes it possible in the implementation to delegate to the other
method, furthermore we still support simple send without parameters.

To be consistent this commits adds this also to the SendWithRetry
method.
For some calls like job fail or job completio the existing cancelation
token was not used, this is fixed with this commit.
This simplifies the send method implemtation in the commands
@CLAassistant
Copy link

CLAassistant commented Apr 29, 2021

CLA assistant check
All committers have signed the CLA.

@ChrisKujawa ChrisKujawa merged commit 0d6b27a into master Apr 29, 2021
@ChrisKujawa ChrisKujawa deleted the zell-send-api branch April 29, 2021 07:10
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.

2 participants