mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Merge pull request #746 from orbitdb/fix/docs
fix 'write' event documentation
This commit is contained in:
commit
5821f9d1b7
2
API.md
2
API.md
@ -612,7 +612,7 @@ Emitted after fully loading the local database.
|
||||
|
||||
### `write`
|
||||
```javascript
|
||||
db.events.on('write', (dbname, hash, entry) => ... )
|
||||
db.events.on('write', (address, entry, heads) => ... )
|
||||
```
|
||||
|
||||
Emitted after an entry was added locally to the database. *hash* is the IPFS hash of the latest state of the database. *entry* is the added database op.
|
||||
|
Loading…
x
Reference in New Issue
Block a user