/usr/share/doc/node-trivial-deferred/README.md is in node-tap 11.0.0+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # trivial-deferred
The most dead-simple trivial Deferred implementation
Uses bluebird if available, otherwise native promises.
## USAGE
```js
var Deferred = require('trivial-deferred')
var d = new Deferred
// promise is d.promise
// to make the promise reject, do d.reject(error)
// to make the promise resolve, do d.resolve(value)
```
|