(work)
| 103 | } |
| 104 | |
| 105 | run (work) { |
| 106 | this.adapter(work.request).then((res) => { |
| 107 | work.promise.resolve(res) |
| 108 | this.requestComplete(work) |
| 109 | }, (err) => { |
| 110 | work.promise.reject(err) |
| 111 | this.requestComplete(work) |
| 112 | }) |
| 113 | } |
| 114 | } |
no test coverage detected