ngx-uploadx
Version:
Angular Resumable Upload Module
15 lines (14 loc) • 361 B
TypeScript
/**
* Allows canceling some operation by calling cancel().
* onCancel callback can be used to execute cleanup logic when cancel is called.
*/
export declare class Canceler {
/**
* Callback function to execute cleanup logic when cancel() is called
*/
onCancel: () => void;
/**
* Cancels the operation.
*/
cancel(): void;
}