handle

open fun handle(exchange: M): R

Handles the message exchange by invoking the function. This method provides an alternative way to process the exchange.

Return

the result of handling the exchange

Parameters

exchange

the message exchange to handle