Blazored / Typeahead

Typeahead control for Blazor applications
https://blazored.github.io/Typeahead/
MIT License
439 stars 103 forks source link

Added support for an error handler template upon searching #277

Open magahl opened 2 years ago

magahl commented 2 years ago

The reason for adding this feature is that we use the Typeahead against Azure Search and today they had a brief outage. When the Debounce Timer EllapsedEventHandler have an unhandeled exception the app pool will crash.

You could catch that exception in the SearchMethod, but this small feature will catch the exception and you can have at it what as you will. If you don't provide a template the behaviour should be as before this feature was implemented.