XState send an event and wait for the transition or lack thereof
I am trying to make a state invoke an asynchronous function.
I would like to trigger an event change and move to the next line after the event is resolved.
I am trying to make a state invoke an asynchronous function.
I would like to trigger an event change and move to the next line after the event is resolved.