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