File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
spring-graphql-docs/modules/ROOT/pages Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ Schema mapping handler methods can return:
213
213
- A resolved value of any type.
214
214
- `Mono` and `Flux` for asynchronous value(s). Supported for controller methods and for
215
215
any `DataFetcher` as described in xref:request-execution.adoc#execution.reactive-datafetcher[Reactive `DataFetcher`].
216
+ - Kotlin coroutine and `Flow` are adapted to `Mono` and `Flux`.
216
217
- `java.util.concurrent.Callable` to have the value(s) produced asynchronously.
217
218
For this to work, `AnnotatedControllerConfigurer` must be configured with an `Executor`.
218
219
@@ -753,6 +754,9 @@ Batch mapping methods can return:
753
754
| Imperative variants to be invoked asynchronously. For this to work,
754
755
`AnnotatedControllerConfigurer` must be configured with an `Executor`.
755
756
757
+ | Kotlin Coroutine with `Map<K,V>`, Kotlin `Flow<K,V>`
758
+ | Adapted to `Mono<Map<K,V>` and `Flux<V>`.
759
+
756
760
|===
757
761
758
762
You can’t perform that action at this time.
0 commit comments