MessageBusPublisherOptionsTParameter, TReturnReturnValueConvertingCallback Property

Gets the callback for return value conversion.

Definition

Namespace: SecretNest.MessageBus.Options
Assembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
C#
public Func<Object?, TReturn>? ReturnValueConvertingCallback { get; }

Property Value

FuncObject, TReturn

Remarks

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 .

See Also