ash_state_machine/lib/builtin_changes/builtin_changes.ex
2023-04-21 13:25:39 -06:00

12 lines
292 B
Elixir

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