The size of each part in multipart uploads (in bytes).
Minimum: 5 MiBMaximum: 5120 MiBDefault: 5 MiB
property partSize | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/S3FilePresignOptions/partSizePpartSize BuildDocsReferenceGuidesBlogDiscord /Bun/S3FilePresignOptions/partSizePpartSize S3FilePresignOptions.partSizepartSize?: number
Search the reference...
/
property
// Configuring multipart uploads
const file = s3.file("large-file.dat", {
partSize: 10 * 1024 * 1024, // 10 MiB parts
queueSize: 4 // Upload 4 parts in parallel
});
const writer = file.writer();
// ... write large file in chunks
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property partSize | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- The size of each part in multipart uploads (in bytes).
- Minimum: 5 MiB
- Maximum: 5120 MiB
- Default: 5 MiB