We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got an error trying to use typescript for readchunk, here is my code
import {readChunk} from 'read-chunk' async _createChunk(this: any) { var self = this; try { let start = 0; while (start < self.fileSize) { let blob = readChunk.sync(self.chunkFile, start, self.chunkSize);//Here error let chunkItem = { blob: blob, startOffset: start, active: false, retries: self.chunkMaxRetries } self.chunks.push(chunkItem); start = start + self.chunkSize; } } catch (error: any) { console.log(error.message); return error; } }
The text was updated successfully, but these errors were encountered:
There is no .sync method. Please read the release notes and docs.
.sync
Sorry, something went wrong.
No branches or pull requests
I got an error trying to use typescript for readchunk, here is my code
The text was updated successfully, but these errors were encountered: