-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Make Spanner AsyncDatabaseClient read/write transactions actual…
…ly asynchronous (#281) The `AsyncRunner` implementation apparently runs blocking code in a separate thread. This changes `AsyncDatabaseClient` to wrap `AsyncTransactionManager` instead. BREAKING CHANGE: `AsyncDatabaseClient` no longer takes an `Executor` for read/write transactions BREAKING CHANGE: Unused flags for building the read/write transaction `Executor` have been removed from `SpannerFlags` BREAKING CHANGE: `TransactionWork` no longer has a `CoroutineScope` receiver.
- Loading branch information
Showing
5 changed files
with
289 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.