reject

abstract suspend fun reject(reason: String)

Reject the signal with the given reason. The handler awaiting the signal will receive a terminal error with reason as the message.

Parameters

reason

the rejection reason.