(config: ConfigParser)
| 73 | actions = new Map<Identifier, ActionView>(); |
| 74 | config: ConfigParser; |
| 75 | constructor(config: ConfigParser) { |
| 76 | this.config = config; |
| 77 | bus.on("dispatch", (...args: any[]) => { |
| 78 | this.dispatch(...args); |
| 79 | }); |
| 80 | } |
| 81 | |
| 82 | dispatch(...args: any[]) { |
| 83 | const { identifier, param } = decompose(...args); |