UNPKG

actionhero

Version:

actionhero.js is a multi-transport API Server with integrated cluster capabilities and delayed tasks

15 lines (12 loc) 299 B
import { Action } from "../../../../src/index"; module.exports = class PluginAction extends Action { constructor() { super(); this.name = "pluginAction"; this.description = "pluginAction"; this.outputExample = {}; } async run({ response }) { response.cool = true; } };