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 e8a3982 2026/03/26 05:06:15: Generated dev website from
groovy-website@282c806
e8a3982 is described below
commit e8a3982542c33749ce09c1ebccf89383234cd222
Author: jenkins <[email protected]>
AuthorDate: Thu Mar 26 05:06:15 2026 +0000
2026/03/26 05:06:15: Generated dev website from groovy-website@282c806
---
blog/groovy-async-await.html | 8 ++++----
search/search-index.json | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/blog/groovy-async-await.html b/blog/groovy-async-await.html
index 40c71de..3e18aa1 100644
--- a/blog/groovy-async-await.html
+++ b/blog/groovy-async-await.html
@@ -72,8 +72,8 @@
<p>A proposed enhancement for Groovy adds native
<code>async</code>/<code>await</code> as a
language-level feature
(<a href="https://issues.apache.org/jira/browse/GROOVY-9381">GROOVY-9381</a>,
-<a href="https://github.com/apache/groovy/pull/2387">PR <mark>2387</a>).
-Inspired by similar constructs in JavaScript, C</mark>, Kotlin, and Swift,
+<a href="https://github.com/apache/groovy/pull/2387">PR #2387</a>).
+Inspired by similar constructs in JavaScript, C#, Kotlin, and Swift,
the proposal lets you write asynchronous code in a sequential, readable
style — with first-class support for async streams, deferred cleanup,
structured concurrency, Go-style channels, and framework adapters
@@ -352,10 +352,10 @@ blocks execute in LIFO order, exactly like
<div class="content">
<pre class="prettyprint highlight"><code data-lang="groovy">async
enterDungeon(hero, dungeonId) {
var familiar = hero.summonFamiliar()
- defer { familiar.dismiss() }
+ defer familiar.dismiss()
var portal = openPortal(dungeonId)
- defer { portal.close() }
+ defer portal.close()
await hero.explore(portal, familiar)
}</code></pre>
diff --git a/search/search-index.json b/search/search-index.json
index 97168b3..92070a8 100644
--- a/search/search-index.json
+++ b/search/search-index.json
@@ -254,7 +254,7 @@
{
"id": "blog/groovy-async-await.html",
"title": "The Apache Groovy programming language - Blogs - Async/await
for Groovy",
- "content": "The Apache Groovy programming language - Blogs -
Async/await for Groovy 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™ Learn Documentation Download Support
Contribute Ecosystem Blog posts Socia [...]
+ "content": "The Apache Groovy programming language - Blogs -
Async/await for Groovy 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™ Learn Documentation Download Support
Contribute Ecosystem Blog posts Socia [...]
"url": "blog/groovy-async-await.html",
"site": "dev"
},