diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-07-26 13:51:20 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-07-26 13:51:20 -0400 |
commit | 7e9ee640382187645115598a4965e319faa05988 (patch) | |
tree | 5c0b10a6098b75b14c080a2f261b6f44e13de885 | |
parent | 63682618c3c0386ff03683f2a984533320115f9a (diff) |
Clarify the event handling will stop for Any other value
-rw-r--r-- | docs/01-basics.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/01-basics.md b/docs/01-basics.md index 6c82572..3866bb1 100644 --- a/docs/01-basics.md +++ b/docs/01-basics.md @@ -70,7 +70,8 @@ handle it event handler; we handled it * `Promise`: when the Promise is `.kept`, use its value for the .reply, unless it's a `Nil`. **Note:** you cannot return `$.NEXT` here. -* Any other value: it will be given to message object's `.reply` method if +* Any other value: mark the event as handled and don't pass it further. The +returned value will be given to message object's `.reply` method if it has one, or ignored if it doesn't. For `irc-to-me` message objects, this means the value will be sent back to the sender of the original message |