You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the function which gets the metaData. When invoked it iterates through the list of providers, ordered by their priority and returns the result from the first one to return a value based on the type parameter.
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;
}
}
}
The text was updated successfully, but these errors were encountered:
This is the function which gets the metaData. When invoked it iterates through the list of providers, ordered by their priority and returns the result from the first one to return a value based on the
type
parameter.https://github.com/cornerstonejs/cornerstone/blob/56f51a0752955bab8a308bc900b95e28992cf3ea/src/metaData.js#L65
The text was updated successfully, but these errors were encountered: