opentracing-tracedpromise
v1.0.2
Published
A Promise class modified to allow use of OpenTracing
Downloads
3
Readme
tracedpromise
TracedPromise
is a class based on the standard ES6 Promise API that adds OpenTracing instrumentation to the promise.
Getting started
Install with npm
. (Note: you may need a relatively recent version of NPM to support scoped packages.)
npm install --save opentracing-tracedpromise
See src/examples/demo.js
for a short example.