* Clear the result, error, and return to idle state.
()
| 313 | * Clear the result, error, and return to idle state. |
| 314 | */ |
| 315 | reset(): void { |
| 316 | this.stop() |
| 317 | this.setResult(null) |
| 318 | this.input = null |
| 319 | this.progress = null |
| 320 | this.devtoolsBridge.resetRuns() |
| 321 | this.setError(undefined) |
| 322 | this.setStatus('idle') |
| 323 | this.devtoolsBridge.emitState() |
| 324 | } |
| 325 | |
| 326 | /** |
| 327 | * Update options without recreating the client. |
no test coverage detected