(promise, reason)
| 5725 | } |
| 5726 | |
| 5727 | function reject(promise, reason) { |
| 5728 | if (promise._state !== PENDING) { return; } |
| 5729 | promise._state = SEALED; |
| 5730 | promise._detail = reason; |
| 5731 | |
| 5732 | config.async(publishRejection, promise); |
| 5733 | } |
| 5734 | |
| 5735 | function publishFulfillment(promise) { |
| 5736 | publish(promise, promise._state = FULFILLED); |
no outgoing calls
no test coverage detected
searching dependent graphs…