request
inline suspend fun <R : Any> BrokerCoroutines.request(message: Any, timeout: Duration, vararg targets: Target): R
Sends a request and awaits a response within a specified timeout.
Return
the response to the request.
Parameters
R
the type of the response.
message
the request message.
timeout
the duration to wait for a response.
targets
the targets to send the request to.
Sends a request and awaits a response using the default timeout.
Return
the response to the request.
Parameters
R
the type of the response.
message
the request message.
targets
the targets to send the request to.