src/metaData.js
function getMetaData (type, imageId) {
  // Invoke each provider in priority order until one returns something
  for (let i = 0; i < providers.length; i++) {
    const result = providers[i].provider(type, imageId);

    if (result !== undefined) {
      return result;
    }
  }
}
function getMetaData (type, imageId) {
  // Invoke each provider in priority order until one returns something
  for (let i = 0; i < providers.length; i++) {
    const result = providers[i].provider(type, imageId);

    if (result !== undefined) {
      return result;
    }
  }
}
function getMetaData ( type , imageId ) { // Invoke each provider in priority order until one returns something for ( let i = 0 ; i < providers . length ; i ++ ) { const result = providers [ i ] . provider ( type , imageId ) ; if ( result !== undefined ) { return result ; } } }
Gets metadata from the registered metadata providers.  Will call each one from highest priority to lowest
until one responds

@param {String} type The type of metadata requested from the metadata store
@param {String} imageId The Cornerstone Image Object's imageId

@returns {*} The metadata retrieved from the metadata store
@memberof Metadata
Gets metadata from the registered metadata providers . Will call each one from highest priority to lowest until one responds