Jidoka.Operation.Source.JidoAction (Jidoka v0.9.0)

Copy Markdown View Source

Operation source backed by one or more Jido Action modules.

The source accepts normalized operation contracts. This lets agent authoring apply descriptions, controls, approval policy, and source metadata before the common operation-source compiler builds the runtime route.

Summary

Functions

Builds a Jido Action operation source.

Types

t()

@type t() :: %Jidoka.Operation.Source.JidoAction{
  actions: [module()],
  metadata: [map()],
  operations: [Jidoka.Agent.Spec.Operation.t()]
}

Functions

new!(actions, operations, opts \\ [])

@spec new!([module()], [Jidoka.Agent.Spec.Operation.t()], keyword()) :: t()

Builds a Jido Action operation source.