()
| 117 | } |
| 118 | |
| 119 | reset(): void { |
| 120 | // reset needs to remove the observer from the mutation because there is no way to "get it back" |
| 121 | // another mutate call will yield a new mutation! |
| 122 | this.#currentMutation?.removeObserver(this) |
| 123 | this.#currentMutation = undefined |
| 124 | this.#updateResult() |
| 125 | this.#notify() |
| 126 | } |
| 127 | |
| 128 | mutate( |
| 129 | variables: TVariables, |
no test coverage detected