* @param {T} value
(value)
| 192 | * @param {T} value |
| 193 | */ |
| 194 | set(value) { |
| 195 | this.#ready = true; |
| 196 | this.#loading = false; |
| 197 | this.#error = undefined; |
| 198 | this.#raw = value; |
| 199 | this.#promise = Promise.resolve(); |
| 200 | } |
| 201 | |
| 202 | /** |
| 203 | * @param {(old: T) => T} fn |
no outgoing calls
no test coverage detected