Forum Discussion
_anomDiebolt_
Qrew Elite
Well this script could easily evolve into such a capability but it has to be tested first.
The capabilities of modern JavaScript are nothing short of amazing. What you are asking for is an called an Iterator in ES6 Javascript. If an object is an Iterator you can loop over it with very compact notation and with high levels of abstractions. Almost any process can be made into an Iterator.
The only issue there might be is that some files such as video files could fail to upload (with a message disconnect by server) and the remaining chain of files to upload would be abandoned using a simple-minded Iterator. Also there could be potential for accidental abuse if performing large scale iterations involving a lot of resources could be achieved with a couple of lines of code. Hence the need for testing.
The capabilities of modern JavaScript are nothing short of amazing. What you are asking for is an called an Iterator in ES6 Javascript. If an object is an Iterator you can loop over it with very compact notation and with high levels of abstractions. Almost any process can be made into an Iterator.
The only issue there might be is that some files such as video files could fail to upload (with a message disconnect by server) and the remaining chain of files to upload would be abandoned using a simple-minded Iterator. Also there could be potential for accidental abuse if performing large scale iterations involving a lot of resources could be achieved with a couple of lines of code. Hence the need for testing.
GauravSharma3
8 years agoQrew Commander
Ok. I will let you know the results of my testing.