Skip to content

feat: Add bufferAsync method #1126

@olavloite

Description

@olavloite

The current buffer(..) methods are non-blocking, but do not return anything (return type void). With the addition of the async API and the switch to Java 8, having an async version of these methods that would return an ApiFuture<Void> would simplify writing chained async statements for a transaction. The semantics of the async versions would be exactly the same as the current methods, as those are already non-blocking, but it would make it possible to clean up client code.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions