Requested by @DevChango in #1 if the client could offer an async API alongside the synchronous API.
e.g. systemOneAsync returning CompletableFuture.
Proposal
Add async counterparts to the existing entry points:
CompletableFuture<TypeSafeResponse> systemOneAsync(...) for every systemOne overload
CompletableFuture<List<ModelCard>> models().listAsync(...)
Both methods should honor the same per-call RequestOptions and the same retry policy as the blocking calls, and complete exceptionally with the same TypeSafeException subclasses.
Requested by @DevChango in #1 if the client could offer an async API alongside the synchronous API.
e.g.
systemOneAsyncreturningCompletableFuture.Proposal
Add async counterparts to the existing entry points:
CompletableFuture<TypeSafeResponse> systemOneAsync(...)for everysystemOneoverloadCompletableFuture<List<ModelCard>> models().listAsync(...)Both methods should honor the same per-call
RequestOptionsand the same retry policy as the blocking calls, and complete exceptionally with the sameTypeSafeExceptionsubclasses.