ByteCounterStream
Callable
- Parameters- __namedParameters: { loggingInterval?: number; logTransferredBytes: (transferredBytes) => void }
- optionalloggingInterval: number = 5000
- logTransferredBytes: (transferredBytes) => void
 - Returns Transform- Transform stream logging the progress of the incoming data. 
Creates a transform stream that logs the progress of the incoming data. This
Transformcalls thelogProgressfunction everyloggingIntervalmilliseconds with the number of bytes received so far.Can be used e.g. to log the progress of a download.