• Execute a callback function for every item in a SharedList, using getValue.

    Parameters

    • list: any

      The list to iterate (e.g. songs, albums, etc.)

    • callback: any

      Callback (It is passed each item of the list and its index), return true to break the loop

    • Optional final_callback: any

      Callback to be executed after all items have been gone through

    Returns void

    Example

    listForEach(tracklist, function (item, idx) { ... });
    

    Method

    listForEach