Skip to content

Commit a6c1769

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
docs: async and sync method comments (#465)
1 parent 3cb8525 commit a6c1769

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClient.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ import com.lithic.api.services.blocking.WebhookService
5050
*/
5151
interface LithicClient {
5252

53+
/**
54+
* Returns a version of this client that uses asynchronous execution.
55+
*
56+
* The returned client shares its resources, like its connection pool and thread pools, with
57+
* this client.
58+
*/
5359
fun async(): LithicClientAsync
5460

5561
fun accounts(): AccountService

lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientAsync.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ import java.util.concurrent.CompletableFuture
5151
*/
5252
interface LithicClientAsync {
5353

54+
/**
55+
* Returns a version of this client that uses synchronous execution.
56+
*
57+
* The returned client shares its resources, like its connection pool and thread pools, with
58+
* this client.
59+
*/
5460
fun sync(): LithicClient
5561

5662
fun accounts(): AccountServiceAsync

0 commit comments

Comments
 (0)