Home > @microsoft/rush-lib > ICloudBuildCacheProvider > trySetCacheEntryBufferAsync
ICloudBuildCacheProvider.trySetCacheEntryBufferAsync() 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:
trySetCacheEntryBufferAsync(terminal: ITerminal, cacheId: string, entryBuffer: Buffer): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
terminal | ITerminal | |
cacheId | string | |
entryBuffer | Buffer |
Returns:
Promise<boolean>