called

fun called(type: Class<*>, timeout: Duration = EVENTUALLY_TIMEOUT): PeerCall

The first call of a command of type that no call of this function returned yet, waited for at most timeout; fails when none comes. A test takes each call of a type in turn so.


inline fun <reified C : Any> called(timeout: Duration = EVENTUALLY_TIMEOUT): PeerCall

The first call of a command of C not returned yet, waited for at most timeout; see called.