FileReader: abort() method
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Note: This feature is available inWeb Workers.
Theabort() method of theFileReader interface aborts the read operation. Upon return,thereadyState will beDONE.
In this article
Syntax
js
abort()Parameters
None.
Return value
None (undefined).
Specifications
| Specification |
|---|
| File API> # abort> |