From ef82d4aa8495451e25f29857f66bd813f72b7d27 Mon Sep 17 00:00:00 2001 From: Tao He Date: Fri, 2 Apr 2021 17:04:35 +0800 Subject: [PATCH] Enhance documentations. Signed-off-by: Tao He --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6747bb9..3ea730e 100644 --- a/README.md +++ b/README.md @@ -531,6 +531,9 @@ It will perform a periodly keep-alive action before it is cancelled explicitly, could accept a handler of type `std::function` and the handler will be invoked when exception occurs during keeping it alive. +Note that the handler will invoked in a separated thread, not the thread where the `KeepAlive` object +is constructed. + ```c++ std::function handler = [](std::exception_ptr eptr) { try {