Open chepemago opened 7 years ago
What is the expectation here? If a file completes in a stopped queue, we currently ignore events. Maybe we should queue them up, and dispatch them ALL once the queue is restarted?
Yes that can be one valid approach. The idea is that the user needs to control which files have succeeded and which not.
El 23 oct. 2017 11:39 a. m., "Lanny McNie" notifications@github.com escribió:
What is the expectation here? If a file completes in a stopped queue, we currently ignore events. Maybe we should queue them up, and dispatch them ALL once the queue is restarted?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CreateJS/PreloadJS/issues/231#issuecomment-338738669, or mute the thread https://github.com/notifications/unsubscribe-auth/AbIsl24r8TsOQNG5EetyvyX9KKWlLCNSks5svM9JgaJpZM4NSPCS .
When there is an error and stopOnError is set to true, the queue is stopped but if some files are loaded at the same time, the event fileLoad is not dispatched. If then, the queue is resumed, the files which were loaded but not "reported" are missed. This issue can be reproduced when trottling the network (using low bandwidth)