vertx / io.vertx.kotlin.ext.eventbus.bridge.tcp / io.vertx.ext.eventbus.bridge.tcp.TcpEventBusBridge / listenAwait

listenAwait

suspend fun TcpEventBusBridge.listenAwait(): TcpEventBusBridge

Listen on default port 7000 with a handler to report the state of the socket listen operation.

Return
self *

suspend fun TcpEventBusBridge.listenAwait(port: Int, address: String): TcpEventBusBridge

Listen on specific port and bind to specific address

Parameters

port - tcp port

address - tcp address to the bind

Return
self *

suspend fun TcpEventBusBridge.listenAwait(port: Int): TcpEventBusBridge

Listen on specific port

Parameters

port - tcp port

Return
self *