Files
30-seconds-of-code/node_modules/xstate/es/index.js
2019-08-20 15:52:05 +02:00

23 lines
791 B
JavaScript

import { matchesState } from './utils';
import { mapState } from './mapState';
import { StateNode } from './StateNode';
import { State } from './State';
import { Machine } from './Machine';
import { raise, send, sendParent, log, cancel, start, stop, assign, after, done } from './actions';
import { interpret, Interpreter, spawn } from './interpreter';
import { matchState } from './match';
var actions = {
raise: raise,
send: send,
sendParent: sendParent,
log: log,
cancel: cancel,
start: start,
stop: stop,
assign: assign,
after: after,
done: done
};
export { Machine, StateNode, State, matchesState, mapState, actions, assign, send, sendParent, interpret, Interpreter, matchState, spawn };
export * from './types';
//# sourceMappingURL=index.js.map