Type alias Source

Source: {
    location: Uint8Array;
    type: "buffer";
} | {
    location: Chunker;
    type: "chunker";
} | {
    location: Blob;
    type: "file-browser";
} | {
    location: string;
    type: "remote";
} | {
    location: ReadableStream<Uint8Array>;
    type: "stream";
}

Type union for a variety of inputs.

Type declaration

  • location: Uint8Array
  • type: "buffer"

Type declaration

Type declaration

  • location: Blob
  • type: "file-browser"

Type declaration

  • location: string
  • type: "remote"

Type declaration

  • location: ReadableStream<Uint8Array>
  • type: "stream"

Generated using TypeDoc