withCompensation
Marks this message for compensation with the specified target.
Return
This message with compensation headers set
Parameters
target
The compensation target to associate with this message
Type Parameters
M
The message type.
Adds compensation information to this header.
Return
A new header with compensation information
Parameters
target
The compensation target containing the function to compensate