MCPcopy
hub / github.com/statelyai/xstate / actor.test.ts

File actor.test.ts

packages/core/test/actor.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { setTimeout as sleep } from 'node:timers/promises';
2import { EMPTY, interval, of } from 'rxjs';
3import { map } from 'rxjs/operators';
4import { forwardTo, sendParent } from '../src/actions.ts';

Callers

nothing calls this directly

Calls 15

createMachineFunction · 0.90
sendParentFunction · 0.90
raiseFunction · 0.90
assignFunction · 0.90
sendToFunction · 0.90
createActorFunction · 0.90
fromPromiseFunction · 0.90
setupFunction · 0.90
fromCallbackFunction · 0.90
fromObservableFunction · 0.90
waitForFunction · 0.90
fromEventObservableFunction · 0.90

Tested by

no test coverage detected