(operations)
| 113 | |
| 114 | // concurrent execution context |
| 115 | constructor(operations) { |
| 116 | this.#promise = new Promise(resolve => { |
| 117 | this.start = () => resolve(); |
| 118 | }); |
| 119 | |
| 120 | this.#knownCommands = operations; |
| 121 | } |
| 122 | |
| 123 | private async _runOperation(op: CmapOperation): Promise<void> { |
| 124 | const operationFn = this.#knownCommands[op.name]; |