-
-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(form-core): remove 500ms fallback for asyncDebounceMs
* test(form-core): add async validation tests * chore(form-core): remove old asyncDebounceMs api * Revert "chore(form-core): remove old asyncDebounceMs api" This reverts commit cd7dbc1. * fix(form-core): make sure to fallback to asyncDebounceMs * chore(form-core): remove 500ms fallback --------- Co-authored-by: João Pedro Magalhães <[email protected]>
- Loading branch information
Showing
3 changed files
with
252 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export function sleep(timeout: number): Promise<void> { | ||
return new Promise((resolve, _reject) => { | ||
setTimeout(resolve, timeout) | ||
}) | ||
} |