Method
runNext
(mutation: Mutation<any, any, any, any>)
Source from the content-addressed store, hash-verified
| 175 | } |
| 176 | |
| 177 | runNext(mutation: Mutation<any, any, any, any>): Promise<unknown> { |
| 178 | const scope = scopeFor(mutation) |
| 179 | if (typeof scope === 'string') { |
| 180 | const foundMutation = this.#scopes |
| 181 | .get(scope) |
| 182 | ?.find((m) => m !== mutation && m.state.isPaused) |
| 183 | |
| 184 | return foundMutation?.continue() ?? Promise.resolve() |
| 185 | } else { |
| 186 | return Promise.resolve() |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | clear(): void { |
| 191 | notifyManager.batch(() => { |
Tested by
no test coverage detected