Skip to content

Blob.stream() per specification has no parameters #11711

@guest271314

Description

@guest271314

What is the type of issue?

No response

What is the issue?

Blob.stream() per specification has no parameters https://w3c.github.io/FileAPI/#dom-blob-stream.

From the linked MDN entry

Syntax

stream()
Parameters
None.

A number is being passed to Blob.stream() in Bun documentation

const buf = Buffer.from("hello world");
const blob = new Blob([buf]);

// set chunk size of 1024 bytes
const stream = blob.stream(1024);

Where did you find it?

https://bun.sh/guides/binary/buffer-to-readablestream

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions