[CORL-620] Persisted Query Improvements (#2567)

* fix: resolves #2566

* fix: improved retry logic
This commit is contained in:
Wyatt Johnson
2019-09-19 18:49:57 +00:00
committed by GitHub
parent 921461008e
commit 25c7f89b31
4 changed files with 54 additions and 11 deletions
+3
View File
@@ -0,0 +1,3 @@
export { default as waitFor } from "./waitFor";
export * from "./validate";
export * from "./i18n";
+7
View File
@@ -0,0 +1,7 @@
export default function waitFor(timeout: number): Promise<void> {
return new Promise(resolve => {
setTimeout(() => {
resolve();
}, timeout);
});
}