Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 1640d4d

Browse files
feat: deferred client initialization (#127)
This PR includes changes from googleapis/gapic-generator-typescript#317 that will move the asynchronous initialization and authentication from the client constructor to an `initialize()` method. This method will be automatically called when the first RPC call is performed. The client library usage has not changed, there is no need to update any code. If you want to make sure the client is authenticated _before_ the first RPC call, you can do ```js await client.initialize(); ``` manually before calling any client method.
1 parent 7d9cc07 commit 1640d4d

7 files changed

+461
-105
lines changed

0 commit comments

Comments
 (0)