(result: Settled, waiting: boolean)
| 4277 | : Exit.interrupt() |
| 4278 | |
| 4279 | const withWaiting = (result: Settled, waiting: boolean): Settled => |
| 4280 | result.waiting === waiting |
| 4281 | ? result |
| 4282 | : result._tag === "Success" |
| 4283 | ? AsyncResult.success(result.value, { |
| 4284 | waiting, |
| 4285 | timestamp: result.timestamp |
| 4286 | }) |
| 4287 | : AsyncResult.failure(result.cause, { |
| 4288 | previousSuccess: result.previousSuccess, |
| 4289 | waiting |
| 4290 | }) |
| 4291 | |
| 4292 | const constVoid = (): void => {} |
| 4293 |