Skip to content

soenneker/soenneker.blazor.utils.interopeventlistener

Repository files navigation

Soenneker.Blazor.Utils.InteropEventListener

Manages the registration, removal, and disposal of .NET object references used for interop event listeners.

Handles 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.

Installation

dotnet add package Soenneker.Blazor.Utils.InteropEventListener

About

Manages the registration, removal, and disposal of .NET object references used for interop event listeners.

Topics

Resources

License

Stars

Watchers

Forks

Languages