receiveOnly

fnreceiveOnlyRet!(T) receiveOnly(T...)()

Receives only messages with arguments of the specified types.

Parameters

TVariadic list of types to be received.

Returns

The received message. If T has more than one entry,

the message will be packed into a Tuple.

Throws

MessageMismatch if a message of types other than T

is received,

OwnerTerminated when the sending thread was terminated.