Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private async downloadPartition(
dataHandle: string,
abortSignal?: AbortSignal
): Promise {
const builder = await this.getRequestBuilder("blob", abortSignal);
return BlobApi.getBlob(builder, {
dataHandle,
layerId: this.layerId
}).catch(this.errorHandler);
}
private async downloadTile(
dataHandle: string,
abortSignal?: AbortSignal
): Promise {
const builder = await this.getRequestBuilder("blob", abortSignal);
return BlobApi.getBlob(builder, {
dataHandle,
layerId: this.layerId
}).catch(async error => Promise.reject(error));
}