Hello I am new to making addons and I made a simple AH scanner.
Conceptually the way it works is that it opens the entire AH with QueryAuctionItems("", nil, nil, 0, 0, 0, true) then I store everything in a saved variable with info from GetAuctionItemInfo(). After the scan is done the game freezes for about 30-60 seconds.
The AH scanner itself seems to be working fine. The question I have is, is there a way for the addon itself to check when that freeze ends? I would like the addon to reload the game after the freeze ends so that the data is exported to the saved variable automatically.