Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniegarcia committed Mar 6, 2015
1 parent b851069 commit c7c22b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var fs = require('fs'),
//handle your error
});
```
2. _Does `Proposal` work with node crypto functions?_
2. _Does `Proposal` work with node `crypto` functions?_

Yes! As you may or may not know, many of the functions in nodejs's [`crypto`](http://nodejs.org/api/crypto.html) module, like [`randomBytes`](http://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback), are async when a callback is passed in but sync when the callback argument is omitted. `Proposal` will work with these and preserve asynchronicity. Example from the unit tests:
```javascript
Expand Down

0 comments on commit c7c22b7

Please sign in to comment.