CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Commands.IPublishAndWaitCommandPublisher< TAuthenticationToken > Interface Template Reference

Publishes an ICommand<TAuthenticationToken> More...

+ Inheritance diagram for Cqrs.Commands.IPublishAndWaitCommandPublisher< TAuthenticationToken >:

Public Member Functions

TEvent PublishAndWait< TCommand, TEvent > (TCommand command, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Publishes the provided command and waits for an event of TEvent More...
 
TEvent PublishAndWait< TCommand, TEvent > (TCommand command, int millisecondsTimeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Publishes the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
TEvent PublishAndWait< TCommand, TEvent > (TCommand command, TimeSpan timeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Publishes the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
TEvent PublishAndWait< TCommand, TEvent > (TCommand command, Func< IEnumerable< IEvent< TAuthenticationToken >>, TEvent > condition, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Publishes the provided command and waits until the specified condition is satisfied an event of TEvent More...
 
TEvent PublishAndWait< TCommand, TEvent > (TCommand command, Func< IEnumerable< IEvent< TAuthenticationToken >>, TEvent > condition, int millisecondsTimeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Publishes the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
TEvent PublishAndWait< TCommand, TEvent > (TCommand command, Func< IEnumerable< IEvent< TAuthenticationToken >>, TEvent > condition, TimeSpan timeout, IEventReceiver< TAuthenticationToken > eventReceiver=null)
 Publishes the provided command and waits for an event of TEvent or exits if the specified timeout is expired. More...
 
- Public Member Functions inherited from Cqrs.Commands.ICommandPublisher< TAuthenticationToken >
void Publish< TCommand > (TCommand command)
 Publishes the provided command on the command bus. More...
 
void Publish< TCommand > (IEnumerable< TCommand > commands)
 Publishes the provided commands on the command bus. More...
 

Detailed Description

Publishes an ICommand<TAuthenticationToken>

Template Parameters
TAuthenticationToken