SimpleCacheEntry
Represents an entry retrieved from the SimpleCache.
Properties
Provides access to the entry's contents as a ReadableStream.
Indicates whether the body has been read yet.
Methods
arrayBuffer
View sourceReads the entry's stream to completion and returns the result as an ArrayBuffer.
Returns
json
View sourceReads the entry's stream to completion and parses the result as JSON.
Returns
Promise<object>
text
View sourceReads the entry's stream to completion and returns the result as a string, decoded using UTF-8.
Returns
Promise<string>