You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by gi...@apache.org on 2026/04/15 12:22:01 UTC

(groovy-dev-site) branch asf-site updated: 2026/04/15 12:21:58: Generated dev website from groovy-website@70302cd

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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 3f3b866  2026/04/15 12:21:58: Generated dev website from groovy-website@70302cd
3f3b866 is described below

commit 3f3b866222b88cc1f6bade549fc0c7ce4ab2ea38
Author: jenkins <bu...@apache.org>
AuthorDate: Wed Apr 15 12:21:58 2026 +0000

    2026/04/15 12:21:58: Generated dev website from groovy-website@70302cd
---
 search/search-index.json |  2 +-
 wiki/GEP-18.html         | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/search/search-index.json b/search/search-index.json
index 976548d..bccd287 100644
--- a/search/search-index.json
+++ b/search/search-index.json
@@ -758,7 +758,7 @@
     {
         "id": "wiki/GEP-18.html",
         "title": "The Apache Groovy programming language - Developer docs - GEP-18",
-        "content": "The Apache Groovy programming language - Developer docs - GEP-18 Socialize Discuss on the mailing list Groovy on X Groovy on Bluesky Groovy on Mastodon Groovy on LinkedIn Events and conferences Source code on GitHub Report issues in Jira Stack Overflow questions Slack Community You are using an outdated browser. Please upgrade your browser to improve your experience. Apache Groovy&trade; Learn Documentation Download Support Contribute Ecosystem Blog posts Socialize GE [...]
+        "content": "The Apache Groovy programming language - Developer docs - GEP-18 Socialize Discuss on the mailing list Groovy on X Groovy on Bluesky Groovy on Mastodon Groovy on LinkedIn Events and conferences Source code on GitHub Report issues in Jira Stack Overflow questions Slack Community You are using an outdated browser. Please upgrade your browser to improve your experience. Apache Groovy&trade; Learn Documentation Download Support Contribute Ecosystem Blog posts Socialize GE [...]
         "url": "wiki/GEP-18.html",
         "site": "dev"
     },
diff --git a/wiki/GEP-18.html b/wiki/GEP-18.html
index 8cbe375..b6eadea 100644
--- a/wiki/GEP-18.html
+++ b/wiki/GEP-18.html
@@ -334,6 +334,19 @@ block, operations automatically use the bound pool:</p>
 }</code></pre>
 </div>
 </div>
+<div class="paragraph">
+<p>The <code>@Parallel</code> annotation provides a convenient shorthand for
+parallel <code>for</code> loops with structured completion:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="prettyprint highlight"><code data-lang="groovy">@Parallel
+for (item in bigList) {
+    process(item)
+}
+// All iterations complete before this line</code></pre>
+</div>
+</div>
 </div>
 <div class="sect2">
 <h3 id="_agent">Agent</h3>