Skip to main content

correlation_thread

Function correlation_thread 

Source
pub fn correlation_thread<P>(doc: &TrustTask<P>) -> &str
Expand description

The thread an exchange started by doc is correlated by: its own threadId, or its id where it opens the exchange (SPEC §4.9’s fallback, which is the value respond_with and reject_with will thread the reply to).

Hold this from the moment you send a request; it is what every reply-classifying function here wants as expected_thread_id.