UNPKG

@grouparoo/core

Version:
20 lines (19 loc) 527 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.APMInitializer = void 0; const actionhero_1 = require("actionhero"); class APMInitializer extends actionhero_1.Initializer { constructor() { super(); this.name = "apm"; this.loadPriority = 1; } async initialize() { actionhero_1.api.apm = { wrap: async (name, type, data, run) => { return run(); }, }; } } exports.APMInitializer = APMInitializer;