Interface UnderlyingByteSource

interface UnderlyingByteSource {
    autoAllocateChunkSize?: number;
    cancel?: ((reason) => void | Promise<void>);
    pull?: ((controller) => void | Promise<void>);
    start?: ((controller) => void | Promise<void>);
    type: "bytes";
}

Properties

autoAllocateChunkSize?: number
cancel?: ((reason) => void | Promise<void>)

Type declaration

    • (reason): void | Promise<void>
    • Parameters

      • reason: any

      Returns void | Promise<void>

pull?: ((controller) => void | Promise<void>)

Type declaration

start?: ((controller) => void | Promise<void>)

Type declaration

type: "bytes"