tuweni / org.apache.tuweni.ethclient / EthereumPeerRepository / addStatusListener

addStatusListener

abstract fun addStatusListener(statusListener: (EthereumConnection) -> Unit): String (source)

Adds a listener to be called when a status message is received

Parameters

statusListener - the listener

Return
a listener ID