pump

pipe streams together and close all of them if one of them closes

end-of-stream

Call a callback when a readable/writable/duplex stream has completed or failed.