mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 03:13:51 +02:00
Add onread callback
This commit is contained in:
@@ -12,6 +12,8 @@ export abstract class Source {
|
||||
_getSize() {
|
||||
return this._sizePromise ??= this._retrieveSize();
|
||||
}
|
||||
|
||||
onread: ((range: { start: number; end: number }) => unknown) | null = null;
|
||||
}
|
||||
|
||||
/** @public */
|
||||
|
||||
Reference in New Issue
Block a user