node-request-retry icon indicating copy to clipboard operation
node-request-retry copied to clipboard

proxy all promise helpers

Open pwmckenna opened this issue 8 years ago • 1 comments

Rather than proxy 'then', 'catch', 'finally', 'fail', and 'done' to the underlying promise returned by promiseFactory, it would be nice if the whole api of the promise was exposed. For instance, if I use Q I would like to call .tap or .get on the return value.

pwmckenna avatar Jan 22 '18 23:01 pwmckenna

@pwmckenna definitely agree, I will accept a PR (with tests) for it :)

FGRibreau avatar Jan 24 '18 14:01 FGRibreau