KVStoreEntry.text()
The text() method of the KVStoreEntry interface takes a KVStoreEntry stream and reads it to completion. It returns a promise that resolves with a String. The KVStoreEntry is always decoded using UTF-8.
Syntax
text()
Parameters
None.
Return value
A Promise that resolves with a String.