Skip to content

Latest commit

 

History

History
89 lines (45 loc) · 1.57 KB

File metadata and controls

89 lines (45 loc) · 1.57 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > BuildCacheConfiguration > tryLoadAsync

BuildCacheConfiguration.tryLoadAsync() 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.

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>;

Parameters

Parameter

Type

Description

terminal

ITerminal

rushConfiguration

RushConfiguration

rushSession

RushSession

Returns:

Promise<BuildCacheConfiguration | undefined>