My comments will be based on my experiance with emergency generators.
An emergency generator requires an Automatic Transfer Switch, most will have many adjustments for high and low voltage limits, frequency limits and time delays. In most applications the ATS controls the generator although Generac has moved the brains into the genertor and the genertor controls their proprietary transfer switch.
Typically the engine start delay is set to 0 seconds so even a small blip will cause the engine to start.
If the utility power returns while the genertor is starting the ATS will not transfer and the engine will run unloaded for until the utility supply is stable for the length of the engine stop delay. Typically the stop delay is 10 to 20 minutes.
If the utility does not return, once the engine has started and the supply from the genertor is stable the transfer switch will transfer.
Once the utility power returns and is stable the retransfer timer starts, typically this is set for about 15 minutes.
When that timer runs down the load transfers back to utility and the engine shut down timer starts.
The genertor will have block heaters so it will fire up quickly, often it can be up and carrying the load in 5 seconds.