Skip to content

Commit

Permalink
Better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
jaubourg committed May 13, 2014
1 parent ce8031a commit 145a40b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ var fs = require( "fs" );
var open = deferize( fs.open );
```

What you get is a new function that does not require a callback anymore and returns a promise. You'd use our specific example as follows:
What you get is a new function that is no longer callback-based but returns a promise instead.

For instance, you'd use the previous example as follows:

```javascript
open( "path/to/my/file", "r" ).done( function( fd ) {
Expand Down

0 comments on commit 145a40b

Please sign in to comment.