diff --git a/spring-graphql-docs/modules/ROOT/pages/controllers.adoc b/spring-graphql-docs/modules/ROOT/pages/controllers.adoc index 498c9f5e..740e0c79 100644 --- a/spring-graphql-docs/modules/ROOT/pages/controllers.adoc +++ b/spring-graphql-docs/modules/ROOT/pages/controllers.adoc @@ -213,6 +213,7 @@ Schema mapping handler methods can return: - A resolved value of any type. - `Mono` and `Flux` for asynchronous value(s). Supported for controller methods and for any `DataFetcher` as described in xref:request-execution.adoc#execution.reactive-datafetcher[Reactive `DataFetcher`]. +- Kotlin coroutine and `Flow` are adapted to `Mono` and `Flux`. - `java.util.concurrent.Callable` to have the value(s) produced asynchronously. For this to work, `AnnotatedControllerConfigurer` must be configured with an `Executor`. @@ -753,6 +754,9 @@ Batch mapping methods can return: | Imperative variants to be invoked asynchronously. For this to work, `AnnotatedControllerConfigurer` must be configured with an `Executor`. +| Kotlin Coroutine with `Map`, Kotlin `Flow` +| Adapted to `Mono` and `Flux`. + |===