aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2007-11-25 18:26:55 -0500
committerThomas Harning Jr <harningt@gmail.com>2007-11-25 18:26:55 -0500
commitd90131015fdc2cc54d57aa04629fc8fc272dc29c (patch)
treed265aebd9efd7b3788e6be656c605b69eba746a4
parent9cab6a19d118d480a3a9827f2839fceb5dd607ed (diff)
downloadluaevent-prosody-d90131015fdc2cc54d57aa04629fc8fc272dc29c.tar.gz
luaevent-prosody-d90131015fdc2cc54d57aa04629fc8fc272dc29c.zip
docs: Added enable/disable documentation for bufferevent
-rw-r--r--doc/modules/luaevent.core.bufferevent.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/modules/luaevent.core.bufferevent.mdwn b/doc/modules/luaevent.core.bufferevent.mdwn
index d63f4fb..842ee06 100644
--- a/doc/modules/luaevent.core.bufferevent.mdwn
+++ b/doc/modules/luaevent.core.bufferevent.mdwn
@@ -60,3 +60,8 @@ Functions:
## bufferevent:get_timeouts
* Output: `read, write`
* See `set_timeouts`
+
+## bufferevent:enable/disable
+* Input: `event flag`
+ * `event flag` - `EV_READ`, `EV_WRITE`, or `EV_READ|EV_WRITE`
+* Enables/Disables events from being triggered in the next round (some events may get triggered after disable is called)