Skip to content
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

need option of transformToWebStream method #1291

Open
jeongsik-woo opened this issue May 28, 2024 · 0 comments
Open

need option of transformToWebStream method #1291

jeongsik-woo opened this issue May 28, 2024 · 0 comments
Assignees

Comments

@jeongsik-woo
Copy link

Hi
I am using aws s3 by node.js.
Sometimes I use readable stream on GetObjectCommand.

    const command = new GetObjectCommand({
      Bucket: s3BucketName,
      Key: s3FilePath,
    });
    const result = await s3Client.send(command);
    const s3Stream = result.Body.transformToWebStream();

When I use s3Stream, I want to use ReadableStreamBYOBReader(https://nodejs.org/docs/latest-v20.x/api/webstreams.html#class-readablestreambyobreader)
But transformToWebStream return stream not support byob stream.

Could you add option for using byob stream?

@kuhe kuhe self-assigned this Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants