Home > @microsoft/rush-lib > ICloudBuildCacheProvider > tryGetCacheEntryBufferByIdAsync
ICloudBuildCacheProvider.tryGetCacheEntryBufferByIdAsync() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
tryGetCacheEntryBufferByIdAsync(terminal: ITerminal, cacheId: string): Promise<Buffer | undefined>;
Parameters
Parameter | Type | Description |
---|---|---|
terminal | ITerminal | |
cacheId | string |
Returns:
Promise<Buffer | undefined>