Add onread callback

This commit is contained in:
Vanilagy
2025-01-04 14:46:53 +01:00
parent 3487bae4fe
commit 316e16211b
3 changed files with 3 additions and 1 deletions
+2
View File
@@ -12,6 +12,8 @@ export abstract class Source {
_getSize() {
return this._sizePromise ??= this._retrieveSize();
}
onread: ((range: { start: number; end: number }) => unknown) | null = null;
}
/** @public */