Execute a callback function for every item in a SharedList, using getFastObject. The same object reference is reused, so do not use this method if you need to store the list contents.
In that case, use listForEach, :method or SharedList.forEach.
Parameters
list: any
The list to iterate (e.g. songs, albums, etc.)
callback: ((itm, i?) => boolean | void)
Callback (It is passed each item of the list and its index)
(itm, i?): boolean | void
Parameters
itm: any
Optionali: number
Returns boolean | void
Returns void
Example
fastForEach(tracklist, function (item, idx) { ... });
Execute a callback function for every item in a SharedList, using getFastObject. The same object reference is reused, so do not use this method if you need to store the list contents. In that case, use listForEach, :method or SharedList.forEach.