Home > @microsoft/rush-lib > ICobuildLockProvider > setCompletedStateAsync
ICobuildLockProvider.setCompletedStateAsync() 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 set completed state.
Signature:
setCompletedStateAsync(context: Readonly<ICobuildContext>, state: ICobuildCompletedState): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
context | Readonly<ICobuildContext> | |
state |
Returns:
Promise<void>