Builder

class Builder<E, R>

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
lateinit var config: FusClientConfig
Link copied to clipboard
var parentScope: CoroutineScope

Functions

Link copied to clipboard
fun build(): FusClient<E, R>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : Any> FusClient.Builder<*, *>.messageHandler(topic: Topic<T>, errorHandler: (Throwable) -> Unit = {}, handle: suspend (message: T) -> Unit)