Manages the registration, removal, and disposal of .NET object references used for interop event listeners.
$ dotnet add package Soenneker.Blazor.Utils.InteropEventListener
Soenneker.Blazor.Utils.InteropEventListenerHandles warnings for potential duplicate registrations and providing methods for cleanup. The class is equipped with asynchronous and synchronous disposal mechanisms, as well as methods for adding event listeners with generic callback functions.
dotnet add package Soenneker.Blazor.Utils.InteropEventListener