mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
fix 'write' event documentation
This commit is contained in:
parent
406eea2a55
commit
71e6947966
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