Skip to content

docs(lib-storage): fix typo paralell -> parallel #2401

New issue

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

Merged
merged 1 commit into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/lib-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Upload allows for easy and efficient uploading of buffers, blobs, or streams, us

const target = { Bucket, Key, Body };
try {
const paralellUploads3 = new Upload({
const parallelUploads3 = new Upload({
client: new S3({}) || new S3Client({}),
tags: [...], // optional tags
queueSize: 4, // optional concurrency configuration
Expand All @@ -22,11 +22,11 @@ Upload allows for easy and efficient uploading of buffers, blobs, or streams, us
params: target,
});

paralellUploads3.on("httpUploadProgress", (progress) => {
parallelUploads3.on("httpUploadProgress", (progress) => {
console.log(progress);
});

await paralellUploads3.done();
await parallelUploads3.done();
} catch (e) {
console.log(e);
}
Expand Down
6 changes: 3 additions & 3 deletions lib/lib-storage/example-code/upload-string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ const Body =

(async () => {
const target = { Bucket, Key, Body };
const paralellUploads3 = new Upload({
const parallelUploads3 = new Upload({
client: new S3({}),
params: target,
});

paralellUploads3.on("httpUploadProgress", (progress) => {
parallelUploads3.on("httpUploadProgress", (progress) => {
console.log(progress);
});

await paralellUploads3.done();
await parallelUploads3.done();
})();