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