dispatch

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL