Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Feb 18, 2019
1 parent caa1730 commit 25d7f09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/docs/asciidoc/languages/kotlin.adoc
Expand Up @@ -294,13 +294,13 @@ for a concrete example.

=== Coroutines

As of Spring Framework 5.2, https://kotlinlang.org/docs/reference/coroutines-overview.html[Coroutines support]
As of Spring Framework 5.2, https://kotlinlang.org/docs/reference/coroutines-overview.html[Coroutines] support
is provided via extensions for WebFlux client and server functional API. A dedicated
{doc-root}/spring-framework/docs/{spring-version}/kdoc-api/spring-framework/org.springframework.web.reactive.function.server/-co-router-function-dsl/[`coRouter { }`]
router DSL is also available.

Coroutines extensions use `await` prefix or `AndAwait` suffix, and most are using similar name than their Reactive
counterparts except `exchange` in `WebClient.RequestHeadersSpec` which translates to `awaitResponse`.
Coroutines extensions use `await` prefix or `AndAwait` suffix, and most are using similar names to their Reactive
counterparts, except `exchange` in `WebClient.RequestHeadersSpec` which translates to `awaitResponse`.

[source,kotlin,indent=0]
----
Expand All @@ -323,7 +323,7 @@ class UserHandler(builder: WebClient.Builder) {
}
----

Read this https://medium.com/@elizarov/structured-concurrency-722d765aa952[structured concurrency blog post]
Read this blog post about https://medium.com/@elizarov/structured-concurrency-722d765aa952[structured concurrency]
to understand how to run code concurrently with Coroutines.

=== Kotlin Script Templates
Expand Down

0 comments on commit 25d7f09

Please sign in to comment.