docs: Add await comment

Closes #549
This commit is contained in:
Richard Littauer 2019-05-01 15:11:23 -04:00
parent 672633c2cd
commit 20f3ea1e1c

View File

@ -142,6 +142,7 @@ const ipfs = IpfsClient('localhost', '5001')
const orbitdb = await OrbitDB.createInstance(ipfs)
const db = await orbitdb.log('hello')
// Do something with your db.
// Of course, you may want to wrap these in an async function.
```
## API