Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typings: remove no longer valid FixedSizeBlobCopyJob type
  • Loading branch information
dario-piotrowicz committed May 13, 2025
commit 39a3150f6ef2ca05715ebc3fbf66d34168a03234
7 changes: 0 additions & 7 deletions typings/internalBinding/blob.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,10 @@ declare namespace InternalBlobBinding {
interface BlobHandle {
slice(start: number, end: number): BlobHandle;
}

class FixedSizeBlobCopyJob {
constructor(handle: BlobHandle);
run(): ArrayBuffer | undefined;
ondone: (err: unknown, res?: ArrayBuffer) => void;
}
}

export interface BlobBinding {
createBlob(sources: Array<Uint8Array | InternalBlobBinding.BlobHandle>, length: number): InternalBlobBinding.BlobHandle;
FixedSizeBlobCopyJob: typeof InternalBlobBinding.FixedSizeBlobCopyJob;
getDataObject(id: string): [handle: InternalBlobBinding.BlobHandle | undefined, length: number, type: string] | undefined;
storeDataObject(id: string, handle: InternalBlobBinding.BlobHandle, size: number, type: string): void;
}