You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can change the batch size to load multiple assets at the same task in the same task.
consttask=newLoadImageTask({assets: ['path/to/image-1.jpg','path/to/image-2.jpg','path/to/image-3.jpg','path/to/image-4.jpg','path/to/image-5.jpg',],// The size of a batch, this is how many requests happen at the same timebatchSize: 5,})task.load();
Or do you mean you would like to be able to load different tasks simultaneously?
@larsvanbraam yeah. for example I have a large video and a bunch of images, it doesn't start loading images until the video is done. It would be great to have a global parallel setting which allows multiple different tasks simultaneously.
@larsvanbraam also, instead of a batch option, a parallel option would be good, too. The batch option loads N items and waits until they are all done before the next batch starts. A parallel option would always be loading N items simultaneously, starting a new load as soon as one is complete.
No description provided.
The text was updated successfully, but these errors were encountered: