[Pkg-javascript-commits] [node-leveldown] 154/492: document state events

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.

commit 3c2c360870dc9d917fe27a363b72023b6bd65776
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Tue Jan 8 18:08:33 2013 +0700

    document state events
---
 README.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 412f668..d32f967 100644
--- a/README.md
+++ b/README.md
@@ -363,8 +363,10 @@ LevelUP emits events when the callbacks to the corresponding methods are called.
 * `db.emit('put', key, value)` emitted when a new value is `'put'`
 * `db.emit('del', key)` emitted when a value is deleted
 * `db.emit('batch', ary)` emitted when a batch operation has executed
-* `db.emit('ready')` emitted when the database has opened
+* `db.emit('ready')` emitted when the database has opened `'open'` is synonym.
 * `db.emit('closed')` emitted when the database has closed
+* `db.emit('opening')` emitted when the database is opening
+* `db.emit('closing')` emitted when the database is closing
 
 If you do not pass a callback to an async function, and there is an error, LevelUP will `emit('error', err)` instead.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git



More information about the Pkg-javascript-commits mailing list