Table of Contents

Interface ICommandDispatcher

Namespace
Savvyio.Commands
Assembly
Savvyio.Core.dll

Defines a Command dispatcher that uses Fire-and-Forget/In-Only MEP.

public interface ICommandDispatcher : IDispatcher

Methods

Commit(ICommand)

Commits the specified request using Fire-and-Forget/In-Only MEP.

void Commit(ICommand request)

Parameters

request ICommand

The ICommand to commit.

CommitAsync(ICommand, Action<AsyncOptions>)

Commits the specified request asynchronous using Fire-and-Forget/In-Only MEP.

Task CommitAsync(ICommand request, Action<AsyncOptions> setup = null)

Parameters

request ICommand

The ICommand to commit.

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

A System.Threading.Tasks.Task that represents the asynchronous operation.

See Also