mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 04:43:51 +02:00
make getSize and input source public
This commit is contained in:
+1
-2
@@ -13,8 +13,7 @@ export abstract class Source {
|
||||
/** @internal */
|
||||
_sizePromise: Promise<number> | null = null;
|
||||
|
||||
/** @internal */
|
||||
_getSize() {
|
||||
getSize() {
|
||||
return this._sizePromise ??= this._retrieveSize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user