* Binds the methods of the result (`mutate` and `reset`) to the observer, so they keep working when * destructured from it.
()
| 76 | * destructured from it. |
| 77 | */ |
| 78 | protected bindMethods(): void { |
| 79 | this.mutate = this.mutate.bind(this) |
| 80 | this.reset = this.reset.bind(this) |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * Updates the observer's options. |