On this page

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

getCachedData(): CachedData
Returns:<CachedData>

map(options?): null
Attributes
options:<MapOptions>
Returns:<null>

original(): Source
Returns:<Source>

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

size(): number
Returns:<number>

source(): SourceValue
Returns:
{SourceValue}

sourceAndMap(options?): SourceAndMap
Attributes
options:<MapOptions>
Returns:
{SourceAndMap}

streamChunks(options, onChunk, onSource, onName): GeneratedSourceInfo
Attributes
onChunk:<object>
onSource:<object>
onName:<object>
Returns:
{GeneratedSourceInfo}

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