MessageBusPublisherOptionsTParameter, TReturnReturnValueConvertingCallback Property
Gets the callback for return value conversion.
Namespace: SecretNest.MessageBus.OptionsAssembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
public Func<Object?, TReturn>? ReturnValueConvertingCallback { get; }
Public ReadOnly Property ReturnValueConvertingCallback As Func(Of Object, TReturn)
Get
Property Value
FuncObject,
TReturn If presents, the callback is invoked to convert the return value before publisher returning. The value provided by
DefaultReturnValue is exempted from being converted by this callback. Default value is
.