cls-es6-promise
cls-es6-promise provides a shim layer for es6-promise so that it
will work with continuation-local-storage. It does this by binding
all callbacks passed to then
and catch
with a CLS namespace.
var cls = ;var ns = cls; var Promise = Promise;// or require('es6-promise').polyfill(); // load shimns;
tests
The tests can be run with npm test
.