I have a large data stream in a pipeline
that does compression and uploading. I would like to do two things with the output of the compression:
- Upload it as before
- Compute a hash (or several hashes)
In the shell it would be something like $ dump_data | compress | tee >(upload) >(hash)
. Is there an equivalent pattern in Julia?