(value)
| 33 | } |
| 34 | |
| 35 | resolve(value) { |
| 36 | if (this._state !== Deferred.PENDING) { |
| 37 | return; |
| 38 | } |
| 39 | this._state = Deferred.FULFILLED; |
| 40 | this._resolve(value); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | // TODO: should these really live here? or be a seperate 'state' enum |
no outgoing calls
no test coverage detected