Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ With ES2017, this will allow you to use async functions cleanly with node's core
```js
const fs = require('mz/fs')


async function doSomething () {
(async function () {
if (await fs.exists(__filename)) // do something
}
})()
```

## Promisification
Expand Down