Companion
object Companion
Functions
Link copied to clipboard
inline suspend fun <P : Any> Component.receive(fromComponent: ComponentRef): Either<ComponentError, Flow<P>>
Helper method to receive messages fromComponent without specifying the serialization.
Link copied to clipboard
inline suspend fun <P : Any> Component.send(toComponent: ComponentRef, message: P): Either<ComponentError, Unit>
Helper method to send a message without specifying the serialization.