Descriptor

Quick start:

addStateMachine({
descriptor: {
id: 'exploding_pigeon',
initial: 0
},
states: [
{
...
},
...

Description:

The descriptor object defines the unique id of the state machine as well as its initial state.

descriptor: {
id: string,
initial: number
}