"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _default = {
  executeCommand(command) {
    const layer = command.layer;
    const src = command.extentsSource;
    const dst = command.extentsDestination || src;
    return Promise.all(src.map((from, i) => layer.getData(from, dst[i])));
  }
};
exports.default = _default;