Closed somebody1234 closed 1 year ago
AFAIK the chunk size is up to the client already if you use the write stream. You should be able to set the chunk size in your read stream and hyperdrive will use whatever you pipe to createWriteStream
.
That isn't the reason why I want the chunker exposed though
I'm ok adding a chunker option that is a through stream that all data is piped through internally On Thu, 18 May 2017 at 02.41, E-Hern Lee notifications@github.com wrote:
That isn't the reason why I want the chunker exposed though
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mafintosh/hyperdrive/issues/165#issuecomment-302269179, or mute the thread https://github.com/notifications/unsubscribe-auth/AAW_VUssVU_-SCYXJ5OS7b5oWxIyxMMkks5r65PEgaJpZM4Negor .
@mafintosh Yeah that would work
So the client can modify the chunks before they are written and read, or chunk the data differently