make getSize and input source public

This commit is contained in:
Yonatan Bendahan
2025-04-15 15:09:15 +03:00
parent 69751e8bfe
commit 9738329f73
9 changed files with 19 additions and 21 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ export abstract class Source {
/** @internal */
_sizePromise: Promise<number> | null = null;
/** @internal */
_getSize() {
getSize() {
return this._sizePromise ??= this._retrieveSize();
}