Skip to content

Commit 0fc44f9

Browse files
committed
docs(modelql): explain the relation to reactive streams
1 parent 9c7c16f commit 0fc44f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/global/modules/core/pages/explanation/modelql.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,13 @@ but still allows to reduce the number of request to a minimum.
2121
The downside is, that it's not just a different implementation hidden behind the model-api,
2222
but requires to use a different API.
2323

24+
== Reactive Streams
25+
26+
The query language is inspired by https://www.reactive-streams.org/[Reactive Streams]
27+
and the execution engine uses https://kotlinlang.org/docs/flow.html[Kotlin Flows],
28+
which is a https://kotlinlang.org/docs/coroutines-guide.html[Coroutines] compatible implementation of Reactive Streams.
29+
30+
Often it's useful to know if a stream is expected to return only one element or multiple elements.
31+
https://projectreactor.io/[Project Reactor], another implementation of Reactive Streams,
32+
introduced the notion of `Mono` and `Flux` to distinguish them.
33+
You will also find them in ModelQL.

0 commit comments

Comments
 (0)