Skip to content

Commit

Permalink
refactor(requestPoolManager): Remove requestPoolManager, use imageLoa…
Browse files Browse the repository at this point in the history
…dPoolManager from core instead

BREAKING CHANGE: Removed requestPoolManager and its usage in stackPrefetch in favour of external
imageLoadPool
  • Loading branch information
swederik committed Sep 15, 2021
1 parent 9333b63 commit 780ba60
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 332 deletions.
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ import { default as stackImageIndexSynchronizer } from './synchronization/stackI
import { default as panZoomSynchronizer } from './synchronization/panZoomSynchronizer.js';

// ~~~~~~ REQUEST POOL MANAGER ~~~~~ //
import { default as requestPoolManager } from './requestPool/requestPoolManager.js';

import { default as external } from './externalModules.js';
import { default as EVENTS } from './events.js';
import { default as version } from './version.js';
Expand Down Expand Up @@ -313,7 +311,6 @@ const cornerstoneTools = {
stackImagePositionOffsetSynchronizer,
stackImageIndexSynchronizer,
panZoomSynchronizer,
requestPoolManager,
external,
EVENTS,
version,
Expand Down Expand Up @@ -420,7 +417,6 @@ export {
stackImagePositionOffsetSynchronizer,
stackImageIndexSynchronizer,
panZoomSynchronizer,
requestPoolManager,
importInternal,
external,
EVENTS,
Expand Down
4 changes: 0 additions & 4 deletions src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ import pointInsideBoundingBox from './util/pointInsideBoundingBox.js';
import makeUnselectable from './util/makeUnselectable.js';
import getRGBPixels from './util/getRGBPixels.js';
import {
getDefaultSimultaneousRequests,
getMaxSimultaneousRequests,
getBrowserInfo,
isMobileDevice,
} from './util/getMaxSimultaneousRequests.js';
Expand Down Expand Up @@ -147,8 +145,6 @@ export const lib = {
'util/pointInsideBoundingBox': pointInsideBoundingBox,
'util/makeUnselectable': makeUnselectable,
'util/getRGBPixels': getRGBPixels,
'util/getDefaultSimultaneousRequests': getDefaultSimultaneousRequests,
'util/getMaxSimultaneousRequests': getMaxSimultaneousRequests,
'util/getBrowserInfo': getBrowserInfo,
'util/isMobileDevice': isMobileDevice,
'util/angleBetweenPoints': angleBetweenPoints,
Expand Down
250 changes: 0 additions & 250 deletions src/requestPool/requestPoolManager.js

This file was deleted.

50 changes: 0 additions & 50 deletions src/requestPool/requestPoolManager.test.js

This file was deleted.

Loading

0 comments on commit 780ba60

Please sign in to comment.