mirror of
https://github.com/ash-project/ash_state_machine.git
synced 2024-09-20 13:23:52 +12:00
12 lines
292 B
Elixir
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
|