import { StateMachine } from "https://deno.land/x/xstate@xstate@5.0.0-beta.23/src/StateMachine.ts";
Resolves the given state
to a new State
instance relative to this machine.
This ensures that .nextEvents
represent the correct values.
x/xstate/src/StateMachine.ts>StateMachine#resolveState
import { StateMachine } from "https://deno.land/x/xstate@xstate@5.0.0-beta.23/src/StateMachine.ts";
Resolves the given state
to a new State
instance relative to this machine.
This ensures that .nextEvents
represent the correct values.