Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import kotlinx.rpc.annotations.Rpc

@Rpc
interface AwesomeService : RemoteService {
suspend fun getNews(city: String): Flow<String>
fun getNews(city: String): Flow<String>

suspend fun daysUntilStableRelease(): Int
}
Expand All @@ -35,7 +35,7 @@ class AwesomeServiceImpl(
val parameters: AwesomeParameters,
override val coroutineContext: CoroutineContext,
) : AwesomeService {
override suspend fun getNews(city: String): Flow<String> {
override fun getNews(city: String): Flow<String> {
return flow {
emit("Today is 23 degrees!")
emit("Harry Potter is in $city!")
Expand Down
Loading