Workflows.parse
You're seeing just the function
parse
, go back to Workflows module for more information.
Specs
Parses a workflow definition.
A workflow is defined by a map-like structure that conforms to the Amazon States Language specification.
Examples
iex> {:ok, wf} = Workflows.parse(%{
...> "Comment" => "A simple example",
...> "StartAt" => "Hello World",
...> "States" => %{
...> "Hello World" => %{
...> "Type" => "Task",
...> "Resource" => "do-something",
...> "End" => true
...> }
...> }
...> })
iex> wf.start_at
"Hello World"