On this page

Attributes
new CachedSource(source, cachedData?): CachedSource
Attributes
cachedData:
{CachedData}
buffer(): Buffer
Returns:
{Buffer}

getCachedData(): CachedData
Returns:
{CachedData}

map(options?): void
  • options {MapOptions}
  • Returns: <null>

original(): Source
Returns:<Source>

originalLazy(): Source | object
Returns:<Source> | <object>

size(): number
Returns:<number>

source(): SourceValue
Returns:
{SourceValue}

sourceAndMap(options?): void
  • options {MapOptions}
  • Returns: {SourceAndMap}

streamChunks(options, onChunk, onSource, onName): void

updateHash(hash): void
  • hash {HashLike}
  • Returns: {void}