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: Support bidirectional cancellation for await* calls #43

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

arriolac
Copy link
Contributor

Supporting bidirectional cancellation. This change modifies the PlacesClient#await* calls such that all await methods on PlacesClient now take in a functional literal receiver of the request builder object rather than fully built requests.

Fixes #42 🦕

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 20, 2021
@arriolac arriolac force-pushed the chris/feat/42 branch 2 times, most recently from ebceecd to ca71c85 Compare July 20, 2021 21:24
BREAKING CHANGE: This alters the signature of all await* calls. Rather
than taking in a fully built request, the new signatures require passing
in a function literal receiver for the request builder object so that
a `CancellableTokenSource` can be provided.

Change-Id: I0372780bd0c96aa3df89c15b5d77855109155532
@arriolac arriolac merged commit 36b7279 into main Jul 20, 2021
@arriolac arriolac deleted the chris/feat/42 branch July 20, 2021 21:51
googlemaps-bot pushed a commit that referenced this pull request Jul 20, 2021
# [1.0.0](v0.4.0...v1.0.0) (2021-07-20)

### Bug Fixes

* Enable multidex ([#44](#44)) ([f05fc22](f05fc22))

### Features

* Support bidirectional cancellation for await* calls ([#43](#43)) ([36b7279](36b7279))

### BREAKING CHANGES

* This alters the signature of all await* calls. Rather
than taking in a fully built request, the new signatures require passing
in a function literal receiver for the request builder object so that
a `CancellableTokenSource` can be provided.

Change-Id: I0372780bd0c96aa3df89c15b5d77855109155532
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support bidirectional cancellation for suspending requests
2 participants