FileIO.fromFile
Emits the contents of a file.
Warning
The fromFile
operator has been deprecated, use fromPath instead.
Signature
FileIO.fromFile
FileIO.fromFile
Description
Emits the contents of a file, as ByteString
s, materializes into a Future
CompletionStage
which will be completed with a IOResult
upon reaching the end of the file or if there is a failure.
1.0.3