UNPKG

ngx-uploadx

Version:
15 lines (14 loc) 361 B
/** * 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; }