Skip to content

Conversation

@Sushisource
Copy link
Member

@Sushisource Sushisource commented Mar 26, 2021

What was changed:

Public Core APIs are now async

Why?

We wanted to have separate APIs for workflow and activity polling, and in order to support single-threaded language SDKs, as well as for ergonomics reasons, using an async API makes sense.

Closes issue:

Fixes #75

How has this been tested?

Existing tests updated and pass

Any docs updates needed?

@Sushisource Sushisource requested a review from vitarb as a code owner March 26, 2021 16:52
@Sushisource Sushisource requested a review from bergundy March 26, 2021 16:53
Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it was an easy transition, nice!

@@ -1,4 +1,4 @@
FROM rust:1.50
FROM rust:1.51
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎊

@Sushisource Sushisource merged commit 0a51612 into temporalio:master Mar 26, 2021
@Sushisource Sushisource deleted the asyncify-apis branch March 26, 2021 19:57
Sushisource added a commit to Sushisource/sdk-core that referenced this pull request Apr 1, 2021
* Asyncify public APIs

* Fix waitloop problem while doing shutdown

* A few crate updates
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.

Avoid polling on shutdown_requested

3 participants