Current section
Files
Jump to
Current section
Files
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