Home > @microsoft/rush-lib > ICobuildLockProvider > renewLockAsync
ICobuildLockProvider.renewLockAsync() 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 to renew a lock with a lock key and specific contexts.
NOTE: If the lock key expired
Signature:
renewLockAsync(context: Readonly<ICobuildContext>): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
context | Readonly<ICobuildContext> |
Returns:
Promise<void>