Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/statelyai/xstate
/ friendsMachine.ts
File
friendsMachine.ts
examples/friends-list-react/src/friendsMachine.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ ActorRefFrom, createMachine, assign, stopChild } from
'xstate'
;
2
import
{ friendMachine } from
'./friendMachine'
;
3
4
const
makeId = () => Math.random().toString(36).substring(7);
Callers
nothing calls this directly
Calls
4
createMachine
Function · 0.85
assign
Function · 0.85
makeId
Function · 0.85
stopChild
Function · 0.85
Tested by
no test coverage detected