agmission/Development/libs/shapefile/shapefile/cancel.js

9 lines
150 B
JavaScript

function noop() {}
export default function() {
return Promise.all([
this._dbf && this._dbf.cancel(),
this._shp.cancel()
]).then(noop);
}