UNPKG

electron-rpc-async-queue

Version:

Async queue implementation for Electron RPC

15 lines (14 loc) 603 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** Available task events types */ var TaskEventType; (function (TaskEventType) { /** Task was started */ TaskEventType["START"] = "TaskEventType.START"; /** Task completed successfully */ TaskEventType["SUCCESS"] = "TaskEventType.SUCCESS"; /** Tasks throws an error */ TaskEventType["ERROR"] = "TaskEventType.ERROR"; /** Task execution ended (successfully or with error) */ TaskEventType["END"] = "TaskEventType.END"; })(TaskEventType = exports.TaskEventType || (exports.TaskEventType = {}));