Kotlin: TcpTunnel.awaitTunnelClose()

DESCRIPTION

Close a tunnel.

This is meant to be used in a Kotlin coroutine to suspend execution until the TcpTunnel is closed.

DECLARATION

suspend fun TcpTunnel.awaitTunnelClose()