ash/lib/ash/flow/flow_result.ex
Zach Daniel b20c4afd9b improvement: haltable flows, branch step type
fix: fix chart links rendering
2022-10-06 17:04:44 -04:00

28 lines
571 B
Elixir

defmodule Ash.Flow.Result do
@moduledoc """
The result of running a flow.
"""
defstruct [
:flow,
:result,
params: %{},
input: %{},
notifications: [],
runner_metadata: %{},
errors: [],
valid?: false,
complete?: false
]
@type t :: %__MODULE__{
flow: Ash.Flow.t(),
result: any | nil,
params: map(),
input: map(),
notifications: list(Ash.Notifier.Notification.t()),
errors: list(Ash.Error.t()),
valid?: boolean,
complete?: boolean
}
end