SubscriberWithMessageInstanceAsyncTParameter Delegate
Async delegate of a subscriber with
MessageInstance as an argument without return value.
Namespace: SecretNest.MessageBusAssembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
public delegate Task SubscriberWithMessageInstanceAsync<TParameter>(
TParameter argument,
MessageInstance messageInstance,
CancellationToken cancellationToken
)
Public Delegate Function SubscriberWithMessageInstanceAsync(Of TParameter) (
argument As TParameter,
messageInstance As MessageInstance,
cancellationToken As CancellationToken
) As Task
- argument TParameter
- Argument.
- messageInstance MessageInstance
- The instance information of this executing.
- cancellationToken CancellationToken
- The token to monitor for cancellation requests.
- TParameter
- The type of the parameter.
TaskA task that represents the asynchronous operation.