Blazor Webassembly IHostApplicationLifetime equivalent

29 Views Asked by At

Is there any source for a CancellationToken in Blazor WebAssembly that signals the termination of the whole application - similar to IHostApplicationLifetime.ApplicationStopping? If there is no such thing built-in what would be a good (best) practice to use instead?

[Update - 23-12-25] I ended up creating my own with a CancelationTokenSource that is triggered when the App component is disposed of.

0

There are 0 best solutions below