View Source SpawnSdk.Value (spawn_sdk v1.3.1)
Value
is a declarative DSL that provides the Domain Driven aspect of the Spawn technology.
It is through a Value that the user can configure the proxy to carry out
the infrastructure tasks and from which it provides all the Worflows.
Summary
Types
@type broadcast() :: SpawnSdk.Flow.Broadcast.t()
@type effects() :: [SpawnSdk.Flow.SideEffect.t()]
@type forward() :: SpawnSdk.Flow.Forward.t()
@type new_state() :: term()
@type pipe() :: SpawnSdk.Flow.Pipe.t()
@type response() :: term()
@type t() :: %SpawnSdk.Value{ broadcast: SpawnSdk.Flow.Broadcast.t(), effects: [SpawnSdk.Flow.SideEffect.t()], forward: SpawnSdk.Flow.Forward.t(), pipe: SpawnSdk.Flow.Pipe.t(), state: term(), tags: map(), value: term() }
@type tags() :: map()
@type value() :: t()