fix(TransportRequestPromise): add finally method to TransportRequestP… (#1415)

* fix(TransportRequestPromise): add finally method to TransportRequestPromise interface

* fix(TransportRequestPromise): add finally method to transportReturn object

* fix(TransportRequestPromise): add finally method tests
This commit is contained in:
Yahia Kerim
2021-03-22 11:50:15 +01:00
committed by delvedor
parent 528b90d19a
commit 416b221b1e
3 changed files with 31 additions and 0 deletions

View File

@ -163,6 +163,9 @@ class Transport {
request.abort()
debug('Aborting request', params)
return this
},
finally (onFinally) {
return p.finally(onFinally)
}
}