()
| 125 | } |
| 126 | |
| 127 | reset(): void { |
| 128 | // reset needs to remove the observer from the mutation because there is no way to "get it back" |
| 129 | // another mutate call will yield a new mutation! |
| 130 | this.#currentMutation?.removeObserver(this) |
| 131 | this.#currentMutation = undefined |
| 132 | this.#updateResult() |
| 133 | this.#notify() |
| 134 | } |
| 135 | |
| 136 | mutate( |
| 137 | variables: TVariables, |
no test coverage detected