This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

FileReaderSync

Summary

Allows for synchronous reading of File or Blob objects. Only available in Workers, as synchronous I/O would otherwise block the main application from executing.

Properties

No properties.

Methods

No methods.

Events

No events.

Notes

Important: The FileReaderSync object’s read methods (readAsText, readAsDataURL, and readAsArrayBuffer) have the same method signatures as the read methods of the FileReader object but they behave synchronously (as opposed to asynchronously).

Related specifications

W3C File API Specification
W3C Working Draft

Attributions