new ReadableFileStream(options)
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
Methods
-
destroy(callback)
-
Destroys and aborts any reads for this stream
Parameters:
Name Type Description callbackSbucket~unlinkCallback - Source:
Events
-
data
-
Triggered when a data is pushed through the stream
Parameters:
Name Type Description bytesBuffer - Source:
-
end
-
Triggered when no more data is available
- Source:
-
error
-
Triggered if an error occurs
Parameters:
Name Type Description errorError - Source:
-
readable
-
Triggered when data is available to read
- Source: