Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > ICobuildLockProvider > connectAsync

ICobuildLockProvider.connectAsync() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The callback function invoked to connect to the lock provider. For example, initializing the connection to the redis server.

Signature:

connectAsync(): Promise<void>;

Returns:

Promise<void>