* Sets the result of this operation, declaring that no further input will be processed for this operation. * @param {Error} err * @param {Object} [result] * @param {Number} [length]
(err, result, length)
| 152 | * @param {Number} [length] |
| 153 | */ |
| 154 | setResult(err, result, length) { |
| 155 | this._markAsCompleted(); |
| 156 | this._swapCallbackAndInvoke(err, result, length); |
| 157 | } |
| 158 | |
| 159 | _swapCallbackAndInvoke(err, result, length, newCallback) { |
| 160 | const callback = this._callback; |
no test coverage detected