MCPcopy
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

1import { ActorRefFrom, createMachine, assign, stopChild } from 'xstate';
2import { friendMachine } from './friendMachine';
3
4const makeId = () => Math.random().toString(36).substring(7);

Callers

nothing calls this directly

Calls 4

createMachineFunction · 0.85
assignFunction · 0.85
makeIdFunction · 0.85
stopChildFunction · 0.85

Tested by

no test coverage detected