This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new b3177b3  polish wording
b3177b3 is described below

commit b3177b3da5c344604ff5f09559d46fdafc46993e
Author: Paul King <[email protected]>
AuthorDate: Wed Apr 8 08:23:20 2026 +1000

    polish wording
---
 site/src/site/blog/groovy-async-await.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/site/src/site/blog/groovy-async-await.adoc 
b/site/src/site/blog/groovy-async-await.adoc
index aaabf9e..65c7fb9 100644
--- a/site/src/site/blog/groovy-async-await.adoc
+++ b/site/src/site/blog/groovy-async-await.adoc
@@ -148,8 +148,7 @@ concurrency model.
 
 === Capture the flag — `Awaitable.any`
 
-Where `all` waits for _every_ task, `any` returns the _first_ to
-complete — a race:
+Where `all` waits for _every_ task, `any` returns when _any_ task completes — 
a race:
 
 [source,groovy]
 ----
@@ -162,8 +161,10 @@ def captureTheFlag(hero, villain, flag) {
 }
 ----
 
+If the winner threw an exception, it propagates immediately.
 The loser's task still runs to completion in the background
 (use `AsyncScope` for fail-fast cancellation).
+If you want to ignore failures and take the first success, use 
`Awaitable.first` instead.
 
 === Other combinators
 

Reply via email to