StateNode.(constructor)​
Constructs a new instance of the StateNode class
Signature:
constructor(
config: StateNodeConfig<TContext, TEvent, TODO, // actions
TODO, // actors
TODO, // output
TODO, // guards
TODO, // delays
TODO>, options: StateNodeOptions<TContext, TEvent>);
Parameters​
| Parameter | Type | Description |
|---|---|---|
| config | StateNodeConfig<TContext, TEvent, TODO, // actions TODO, // actors TODO, // output TODO, // guards TODO, // delays TODO> | |
| options | StateNodeOptions<TContext, TEvent> |