* Resolves the promise returned by `asPromise`.
()
| 19 | * Resolves the promise returned by `asPromise`. |
| 20 | */ |
| 21 | public complete() { |
| 22 | this.completed = true; |
| 23 | this.settleFn(); |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Rejects the promise returned by `asPromise` with the given error. |
no outgoing calls
no test coverage detected