Skip to content

Conversation

dcormier
Copy link
Contributor

@dcormier dcormier commented Jan 6, 2023

Description of changes:

Added a function to get the SystemTime value for the deadline of the context.

There have been multiple times that I've needed a SystemTime (or similar) value, rather than simply the epoch ms u64 that Context currently exposes. And I've watched other devs trip over that existing u64 value. This should make it easier to use the deadline.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

@calavera calavera merged commit 128aef4 into awslabs:main Jan 6, 2023
@dcormier dcormier deleted the dc/deadline branch January 6, 2023 19:32
@dcormier
Copy link
Contributor Author

dcormier commented Jan 6, 2023

Thanks @calavera!

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