From e731cfaa7f3d5ed5937b241cd9e266247a049074 Mon Sep 17 00:00:00 2001 From: Reinder Nijhoff Date: Mon, 27 May 2024 14:30:55 +0200 Subject: [PATCH] Update ImageSource.ts --- src/lib/ImageSource.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ImageSource.ts b/src/lib/ImageSource.ts index 9e6530a..04d8327 100644 --- a/src/lib/ImageSource.ts +++ b/src/lib/ImageSource.ts @@ -15,10 +15,10 @@ export type ImageSourceType = typeof INPUT_SRC | typeof INPUT_TAR; * @property {string | undefined} tarURL - The URL of the tar file containing the images for the sequence. * @property {boolean} useWorker - Whether to use a worker for fetching images. * @property {number} maxCachedImages - The number of images to cache. - * @property {number} maxConnectionLimit - The maximum number of images to load at once. + * @property {number} maxConnectionLimit - The maximum number of images to load simultaneously. * @property {((index: number) => boolean) | undefined} available - A callback function that returns if an image is available given its index. * @property {((index: number) => Promise) | undefined} image - A callback function that returns the image element given its index. - * @property {number} timeout - Only start loading an image if the same frame is visible for this amount of time (in milliseconds). + * @property {number} timeout - Only start loading an image if the same frame is visible for this time (in milliseconds). */ export type ImageSourceOptions = { imageURL: ((index: number) => string) | undefined, @@ -156,4 +156,4 @@ export default class ImageSource { } } } -} \ No newline at end of file +}