UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

7 lines (6 loc) 305 B
import { NonPausableTransferTask } from '../../../types/common'; export declare function createAbortableTask<T>(executor: (abortController: AbortController) => Promise<T>): NonPausableTransferTask<T> & { then: Promise<T>['then']; catch: Promise<T>['catch']; finally: Promise<T>['finally']; };