Execute a callback function for every item in a SharedList, using getValue.
listForEach(tracklist, function (item, idx) { ... }); Copy
listForEach(tracklist, function (item, idx) { ... });
listForEach
The list to iterate (e.g. songs, albums, etc.)
Callback (It is passed each item of the list and its index), return true to break the loop
Optional
Callback to be executed after all items have been gone through
Execute a callback function for every item in a SharedList, using getValue.
Example
Method
listForEach