receiveOnlyTimeout

  1. T receiveOnlyTimeout(Duration d)
    @safe
    T
    receiveOnlyTimeout
    (
    T
    )
    (
    Duration d = 1.seconds
    )
    if (
    isType!T
    )
  2. Tuple!(T) receiveOnlyTimeout(Duration d)

Throws

MessageTimeout, if no message is received before Duration WrongMessage, if incorrect message was received