Merge pull request #616 from orbitdb/feat/await-note

docs: Add await comment
This commit is contained in:
Haad 2019-05-02 14:53:55 +03:00 committed by GitHub
commit f63f9d1768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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