From 715607305619d76dff3ae2e0de8113c5f4eefad2 Mon Sep 17 00:00:00 2001 From: spaspaspa Date: Wed, 21 Aug 2024 23:15:03 +0800 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4260fe5..3be3d90 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ Coasync has a lightweight compilation process, so its integrated compilation is ### when_any/when_any algorithm ** when_all is a awaitable generator that returns a awaitable that completes when the last of the input awaitables completes. It sends a pack of values, where the elements of said pack are the values sent by the input awaitables, in order. + ** when_any is a awaitable generator that returns a awaitable that completes when the first of the input awaitables completes[or throws]. It sends a variant of values, where the element of that are the value sent by the first awaitable. Coasync supports for cancelling an operation, by send stop_request using std::stop_token/std::stop_source ``` cpp