Table of Contents

Method DispatchAsync

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

DispatchAsync(byte[], MessageProperties, CancellationToken, string, string)

Dispatches a message to all registered fire-and-forget handlers for the channel, each in its own DI scope.

public Task<DispatchResult> DispatchAsync(byte[] body, MessageProperties properties, CancellationToken cancellationToken, string channelName, string transportName)

Parameters

body byte[]
properties MessageProperties
cancellationToken CancellationToken
channelName string
transportName string

Returns

Task<DispatchResult>