suspend fun TcpEventBusBridge.listenAwait(): TcpEventBusBridge
Listen on default port 7000 with a handler to report the state of the socket listen operation.
Returnself
suspend fun TcpEventBusBridge.listenAwait(port: Int, address: String): TcpEventBusBridge
Listen on specific port and bind to specific address
address
- tcp address to the bind
Returnself
suspend fun TcpEventBusBridge.listenAwait(port: Int): TcpEventBusBridge
Listen on specific port
Returnself