It would be nice to have an example how asynchronous and debounced validation is done in Elm. It's not that trivial as a sync validation where you just pass input and get True/False.
Example - Registration form
User enters his username and that triggers validation request to server to validate if username is free.
- this should trigger 500ms after user stops typing
- if user starts typing again, the previous validation request should be ignored
It would be nice to have an example how asynchronous and debounced validation is done in Elm. It's not that trivial as a sync validation where you just pass input and get True/False.
Example - Registration form
User enters his username and that triggers validation request to server to validate if username is free.