aboutsummaryrefslogtreecommitdiff
path: root/src/netapp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/netapp.rs')
-rw-r--r--src/netapp.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/netapp.rs b/src/netapp.rs
index 9733fb7..eed0f59 100644
--- a/src/netapp.rs
+++ b/src/netapp.rs
@@ -158,6 +158,8 @@ impl NetApp {
/// Add a handler for a certain message type. Note that only one handler
/// can be specified for each message type.
+ /// The handler is an asynchronous function, i.e. a function that returns
+ /// a future.
pub fn add_msg_handler<M, F, R>(&self, handler: F)
where
M: Message + 'static,