UNPKG

@wmfs/tymly

Version:

A framework for building and sharing workflows in Node.js

13 lines (10 loc) 337 B
class AvailableStateMachines { init (resourceConfig, env) { this.statebox = env.bootedServices.statebox } // init run (event, context) { const stateMachines = this.statebox.listStateMachines() context.sendTaskSuccess(stateMachines) } // run } // class AvailableStateMachines module.exports = AvailableStateMachines