wasmcloud_runtime::capability::messaging::request_reply

Type Alias RequestOptions

source
pub type RequestOptions = RequestOptions;
Expand description

Options for a request/reply operation. This is a resource to allow for future expansion of options.

Aliased Type§

struct RequestOptions {
    pub timeout_ms: Option<u32>,
    pub expected_replies: Option<u32>,
}

Fields§

§timeout_ms: Option<u32>

The maximum amount of time to wait for a response. If the timeout value is not set, then the request/reply operation will block until a message is received in response.

§expected_replies: Option<u32>

The maximum number of replies to expect before returning.