UNPKG

@ima/core

Version:

IMA.js framework for isomorphic javascript application

31 lines (30 loc) 829 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "Execution", { enumerable: true, get: function() { return Execution; } }); class Execution { /** * Adds a new job to be executed. The job is appended at the end of the * list of current jobs therefore is executed last. * * @param jobs The jobs to be executed. */ append(jobs) { return; } /** * Start executing collected jobs. In the end a `Promise` is returned * with a resulting value. On the returned `Promise` a `catch` * method can be called to prevent any unwanted interruption. * * @param args Arguments to be passed when executing jobs */ execute(...args) { return Promise.reject(); } } //# sourceMappingURL=Execution.js.map