More refactoring stuff

- Add a waitForEventQueue promise, to get rid of the 5 second fudge from testBot.js
- Async'ify testBot.js
- Complete plumbing for Hint's ScriptDialog support (see changes to ScriptDialogEvent.ts and Comms.ts
- Fix: The EventQueue was pausing for 5 seconds every 30 seconds
This commit is contained in:
Casper Warden
2018-10-07 17:06:54 +01:00
parent 3e993a07e3
commit 960f024ea4
33 changed files with 475 additions and 207 deletions

View File

@@ -13,5 +13,5 @@ export declare class EventQueueClient {
shutdown(): void;
Get(): void;
request(url: string, data: string, contentType: string): Promise<string>;
capsRequestXML(capability: string, data: any): Promise<any>;
capsRequestXML(capability: string, data: any, attempt?: number): Promise<any>;
}