(result: Result.Result<E, A>)
| 46 | private trackedProps = TrackedProperties.initial() |
| 47 | private resultBag: ResultBag.ResultBag<E, A> = ResultBag.make(Result.initial(), this.trackedProps) |
| 48 | private setResult(result: Result.Result<E, A>) { |
| 49 | TrackedProperties.updateFromResult(this.trackedProps, result) |
| 50 | this.resultBag = ResultBag.make(result, this.trackedProps) |
| 51 | this.notify() |
| 52 | } |
| 53 | public snapshot = () => { |
| 54 | return this.resultBag |
| 55 | } |
no test coverage detected