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: Expose transact async for asynchronous transactions #222

Merged
merged 37 commits into from
Oct 31, 2022

Conversation

ChaoticTempest
Copy link
Member

@ChaoticTempest ChaoticTempest commented Oct 19, 2022

This adds transact_async to CallTransaction and Transaction objects so users can call into committing transactions without having to wait for them to complete if their transactions are independent of each other. TransactionStatus type also added to check the status of the transaction afterwards and finally grab its result.

addresses #216

workspaces/src/operations.rs Outdated Show resolved Hide resolved
workspaces/src/operations.rs Show resolved Hide resolved
workspaces/tests/parallel_transactions.rs Outdated Show resolved Hide resolved
workspaces/tests/parallel_transactions.rs Show resolved Hide resolved
workspaces/src/operations.rs Outdated Show resolved Hide resolved
workspaces/tests/parallel_transactions.rs Outdated Show resolved Hide resolved
Base automatically changed from feat/view-builders to main October 31, 2022 23:11
@ChaoticTempest ChaoticTempest merged commit 0b80d06 into main Oct 31, 2022
@ChaoticTempest ChaoticTempest deleted the feat/transact_async branch October 31, 2022 23:34
@frol frol mentioned this pull request Oct 4, 2023
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