Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/xstate/src/patterns.ts>sequence

State machines and statecharts for the modern web.
Go to Latest
function sequence
import { sequence } from "https://deno.land/x/xstate@xstate%405.0.0-beta.13/src/patterns.ts";

Parameters

items: string[]
optional
options: Partial<SequencePatternOptions<TEvent>>

Returns

{ initial: string; states: StatesConfig<any, TEvent>; }