interface CogCacheOptions {
    blockSize?: number;
    cacheSize?: number;
}

Properties

blockSize?: number

The block size (in bytes), of the underlying blocked source. Default is 65536.

cacheSize?: number

The cache size (in number of entries), of the underlying blocked source. Default is 100.