(err)
| 4085 | |
| 4086 | // finished |
| 4087 | function done(err) { |
| 4088 | if (self.timedOut) return; |
| 4089 | if (finished) return multiple(err); |
| 4090 | self.clearTimeout(); |
| 4091 | self.duration = new Date - start; |
| 4092 | finished = true; |
| 4093 | fn(err); |
| 4094 | } |
| 4095 | |
| 4096 | // for .resetTimeout() |
| 4097 | this.callback = done; |
no test coverage detected