Baseline Widely available
Note: This feature is only available in Web Workers, except for Service Workers.
The FileReaderSync()
constructor creates a new FileReaderSync
.
None.
ExamplesThe following code snippet shows creation of a FileReaderSync
object using the FileReaderSync()
constructor and subsequent usage of the object:
function readFile(blob) {
const reader = new FileReaderSync();
postMessage(reader.readAsDataURL(blob));
}
Note: This snippet must be used inside a Worker
, as synchronous interfaces can't be used on the main thread.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4