UNPKG

@actionforest/taskrunner

Version:

ActionForest taskrunner in Pomegranate

24 lines 879 B
"use strict"; /** * @file TaskReciever * @author Jim Bulkowski <jim.b@paperelectron.com> * @project taskrunner * @license MIT {@link http://opensource.org/licenses/MIT} */ Object.defineProperty(exports, "__esModule", { value: true }); const plugin_tools_1 = require("@pomegranate/plugin-tools"); const actiontrees_1 = require("actiontrees"); exports.TaskReciever = plugin_tools_1.CreatePlugin('action') .configuration({ name: 'ActionTree', depends: ['@pomofficial/RabbitMQ', '@pomofficial/KnexDAO'] }) .variables({}) .hooks({ load: (Injector, PluginVariables, PluginLogger, Knex, SQL, RabbitMQ) => { let storage = new actiontrees_1.PGStore(Knex); let Trees = new actiontrees_1.ActionTree(storage, { debugLogging: true, infoLogging: true, logger: PluginLogger }); return null; } }); //# sourceMappingURL=TaskReciever.js.map