From 20f3ea1e1c34430a28d3c91201f4adc5825c928e Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Wed, 1 May 2019 15:11:23 -0400 Subject: [PATCH] docs: Add await comment Closes #549 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 15f53b4..274c0b6 100644 --- a/README.md +++ b/README.md @@ -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