| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @microsoft/rush-lib > BuildCacheConfiguration > tryLoadAsync
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.
Attempts to load the build-cache.json data from the standard file path common/config/rush/build-cache.json<></>. If the file has not been created yet, then undefined is returned.
Signature:
static tryLoadAsync(terminal: ITerminal, rushConfiguration: RushConfiguration, rushSession: RushSession): Promise<BuildCacheConfiguration | undefined>;|
Parameter |
Type |
Description |
|---|---|---|
|
terminal | ||
|
rushConfiguration | ||
|
rushSession |
Returns:
Promise<BuildCacheConfiguration | undefined>