(stream, promise, action)
| 1584 | } |
| 1585 | |
| 1586 | function watchErrored(stream, promise, action) { |
| 1587 | if (stream[kState].state === 'errored') |
| 1588 | action(stream[kState].storedError); |
| 1589 | else |
| 1590 | PromisePrototypeThen(promise, undefined, action); |
| 1591 | } |
| 1592 | |
| 1593 | function watchClosed(stream, promise, action) { |
| 1594 | if (stream[kState].state === 'closed') |
no test coverage detected
searching dependent graphs…