-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi, I don't know why but my end event no fire in readableStreambuffer.
`
let myReadableStreamBuffer = new streamBuffers.ReadableStreamBuffer({
frequency: 10, chunkSize: auth.data.recommendedPartSize
})
myReadableStreamBuffer.put(req.file.buffer)
myReadableStreamBuffer.destroySoon()
myReadableStreamBuffer.on('data', async (data) => {
// upload my file by part
})
myReadableStreamBuffer.on('end', async () => {
console.log('finished')
})
`
And I think this response is not anymore valid : #15 (comment)
My error is : TypeError: myReadableStreamBuffer.destroySoon is not a function
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels