Current section

Files

Jump to
ash_state_machine lib builtin_changes builtin_changes.ex
Raw

lib/builtin_changes/builtin_changes.ex

defmodule AshStateMachine.BuiltinChanges do
@moduledoc """
Changes for working with AshStateMachine resources.
"""
@doc """
Changes the state to the target state, validating the transition
"""
def transition_state(target) do
{AshStateMachine.BuiltinChanges.TransitionState, target: target}
end
end