Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Async ¶
func Async() command.DispatchOption
Async returns a DispatchOption that makes the dispatch of a command asynchronous if it has been previously made synchronous by the Sync/Synchronous option.
func Configure ¶
func Configure(opts ...command.DispatchOption) command.DispatchConfig
Configure returns a Config from Options.
func Report ¶
func Report(r command.Reporter) command.DispatchOption
Report returns an Option that makes the Command Bus report the executon result of a Command to the Reporter r.
func Sync ¶
func Sync() command.DispatchOption
Sync returns a DispatchOption that makes the dispatch of the command synchronous.
A synchronous dispatch returns a potential error that occured during the execution of a command back to the dispatcher of the command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.