mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
[CORL-620] Persisted Query Improvements (#2567)
* fix: resolves #2566 * fix: improved retry logic
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export { default as waitFor } from "./waitFor";
|
||||
export * from "./validate";
|
||||
export * from "./i18n";
|
||||
@@ -0,0 +1,7 @@
|
||||
export default function waitFor(timeout: number): Promise<void> {
|
||||
return new Promise(resolve => {
|
||||
setTimeout(() => {
|
||||
resolve();
|
||||
}, timeout);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user