.Connect()Connects the client to the underlying endpoint, also improving performance to avoid cold starts.
Method Syntaxawait db.Connect()
| Arguments | Description | ||
|---|---|---|---|
cancellationToken optional | The cancellationToken enables graceful cancellation of asynchronous operations. |
await db.Connect();