FileReader: abort() method

Note: This feature is available in Web Workers

The abort method of the FileReader interface aborts the read operation. Upon return, the readyState will be DONE.

Syntax

js

abort()

Parameters

None.

Return value

None (undefined).

Specifications

Specification
File API
# abort

Browser compatibility

BCD tables only load in the browser

See also