thejire
12/08/2024, 8:02 PMMutableSharedFlow
) of events which need to be listened to in real-time that I can emit from the server-side.
Is there no direct way to do a server -> client call? Or at least something simpler than with mutable flow?Alexander Sysoev
12/08/2024, 8:13 PMthejire
12/08/2024, 8:17 PM@Rpc
interface EventService : RemoteService {
suspend fun subscribe(uuid: Long): SharedFlow<Event>
}
thejire
12/08/2024, 8:17 PM