Treatment read
fs/file::read
Inputs
⇥ path:
Block<string>
Outputs
↦ data:
Stream<byte>
↦ failure:
Block<void>
↦ message:
Stream<string>
↦ success:
Block<void>
Read one file.
The content of the file given through path
is streamed through data
.
Once file is totally read, success
is emitted.
If any reading failure happens, failure
is emitted and message
contains text of the related text of error(s).