- 💻 Multiple services now are invoked as expected thanks to @tivac - #367, #368
- 📅 Event object type inference improved. #338
- 🆕 New
StateNode
method:.resolveState(state)
returns a resolved state (with resolved state.value
,.nextEvents
, etc.) in relation to state node (machine):
// partial state
const someState = State.from('red', undefined);
const resolvedState = lightMachine.resolveState(someState);
resolvedState.value;
// => `{ red: 'walk' }`