Documentation
¶
Overview ¶
Package command composes resource mutations and AG-UI journal completion in one native Datly root transaction, through a trusted application capability.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandDatly = reflect.TypeFor[CommandComponent]()
Functions ¶
func NewCommand ¶
func NewCommand() handler.Contract[store.CommandInput, store.CommandOutput]
Types ¶
type CommandComponent ¶
type CommandComponent struct {
Contract xdatly.Component[store.CommandInput, store.CommandOutput] `` /* 155-byte string literal not displayed */
}
The command coordinator observes child writes and appends the terminal journal inside one owned transaction; its children cannot be buffered.
func (CommandComponent) DatlyHandler ¶
func (CommandComponent) DatlyHandler(name string) func() (rh.TypedHandler, error)
Click to show internal directories.
Click to hide internal directories.