src/stackTools/stackPrefetch.js
function removeFromList(imageIdIndex) {
    const index = stackPrefetch.indicesToRequest.indexOf(imageIdIndex);

    if (index > -1) {
      // Don't remove last element if imageIdIndex not found
      stackPrefetch.indicesToRequest.splice(index, 1);
    }
  }
function removeFromList(imageIdIndex) {
    const index = stackPrefetch.indicesToRequest.indexOf(imageIdIndex);

    if (index > -1) {
      // Don't remove last element if imageIdIndex not found
      stackPrefetch.indicesToRequest.splice(index, 1);
    }
  }
function removeFromList ( imageIdIndex ) { const index = stackPrefetch . indicesToRequest . indexOf ( imageIdIndex ) ; if ( index > - 1 ) { // Don't remove last element if imageIdIndex not found stackPrefetch . indicesToRequest . splice ( index , 1 ) ; } }
Remove an imageIdIndex from the list of indices to request This fires when the individual image loading deferred is resolved
Remove an imageIdIndex from the list of indices to request This fires when the individual image loading deferred is resolved