From 16588e77ca1b32723ebfc5497e9e120d99b3e273 Mon Sep 17 00:00:00 2001 From: Monica Moniot Date: Thu, 26 Oct 2023 11:38:10 -0400 Subject: [PATCH] added note --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 3fc97d2..f93c580 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,5 +58,9 @@ mod single_thread; pub mod sync; /// This module contains the API for using SEQEX safely with tokio for async-await style code. +/// +/// There is a known issue with this API that it currently exposes no direct way to close a session +/// and cause all paused awaits to return. The user can currently implement this with async timeouts +/// or an async "session closed" event. #[cfg(feature = "tokio")] pub mod tokio;