UNPKG

465 BTypeScriptView Raw
1/**
2 * Events fired from Operation
3 */
4export declare enum OperationEvent {
5 /**
6 * Event when operation starts
7 */
8 START = "start",
9 /**
10 * Event when operation is ready to be executed
11 */
12 READY = "ready",
13 /**
14 * Event when operation is done
15 */
16 DONE = "done",
17 /**
18 * Event when operation is cancelled
19 */
20 CANCEL = "cancel",
21 /**
22 * Event when something went wrong
23 */
24 ERROR = "error"
25}