We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2655e6 commit 25a42abCopy full SHA for 25a42ab
docs/pages/kotlinx-rpc/topics/strict-mode.topic
@@ -128,7 +128,7 @@
128
}
129
130
fun consumer(service: Service, scope: CoroutineScope) {
131
- val flow = service.new()
+ val flow = service.newServer()
132
scope.launch {
133
service.newClient(flow { /* ... */ })
134
@@ -142,7 +142,7 @@
142
suspend fun consumer(service: Service) {
143
144
145
- service.new().collect {
+ service.newServer().collect {
146
// ...
147
148
0 commit comments