astilectron
astilectron copied to clipboard
When page load failed, retry reload page.
@asticode
This is a nice idea.
However this must not be the default behavior. This should be an option to the GO Window object here.
The way I see it:
- add an option to the GO
Windowoptions namedRetrySleepwhich should be a*time.Duration. I think adding aRetryMaxoption would be a smart thing to do, but if that's too much of a hassle, that's fine. - this option is sent to the JS and the JS interval is only created if the option is
!= nil
What do you think?
Great ^_^