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

Eventstream client integration #439

Merged
merged 14 commits into from
Apr 5, 2023
Merged

Conversation

bretambrose
Copy link
Contributor

@bretambrose bretambrose commented Mar 31, 2023

A bunch of miscellaneous CRT updates to support eventstream and Greengrass RPC.

  • Some events have been renamed
  • Added support for LiftedPromise, a promise whose resolve and reject methods are available to external actors. Primary use is to remove internal awaits in the promise body that may never resolve (based on network events, for example) and instead let external events drive resolution/rejection
  • Added support for CancelController, a simple type with a cancel method that can be listened to for promise rejection

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bretambrose bretambrose marked this pull request as ready for review April 3, 2023 14:53
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