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 {