SendStream
An RPC-like stream for sending events and receiving responses for those events. The main use case is communication between the JVM and native code, but it can be used for any bi-directional communication.
The stream is called "SendStream" in the JVM and "ReceiveStream" in the native code.
Docs: https://gp.acrobits.cz/master/documentation/core/android/writing-modern-android/streams
Inheritors
Functions
Link copied to clipboard
suspend fun <Event, Response> SendStream<Event, Response>.sendAndExpectResponse(event: Event, expectedResponse: Response, actions: suspend () -> Unit)