'use strict'; // 监听事件 module.exports = { "event1": (args) => { console.log(args || 'event1') }, "event2": (args) => { console.log(args || 'event2') }, //status定义的有限状态机 "start.ling": (args) => { console.log(args || 'event2') }, }