import { StateMachine } from "https://deno.land/x/xstate@xstate%405.0.0-beta.13/src/StateMachine.ts";
Determines the next state given the current state
and received event
.
Calculates a full macrostep from all microsteps.
Parameters
optional
state: State<TContext, TEvent, TResolvedTypesMeta> | StateValue = [UNSUPPORTED]The current State instance or state value
optional
actorCtx: ActorContext<TEvent, State<TContext, TEvent, any>>