Table of Contents

Class EdgeHostedService

Namespace
Qavren.Edge.Hosting
Assembly
Qavren.Edge.Core.dll

Generic-host integration: starts the Edge host and awaits it, so a startup failure fails IHost.StartAsync. MAUI does not use this — the lifecycle bridge calls Start() from the platform launch event and never blocks it.

public sealed class EdgeHostedService : IHostedService
Inheritance
EdgeHostedService
Implements
Inherited Members

Constructors

EdgeHostedService(IEdgeHost)

Generic-host integration: starts the Edge host and awaits it, so a startup failure fails IHost.StartAsync. MAUI does not use this — the lifecycle bridge calls Start() from the platform launch event and never blocks it.

Methods

StartAsync(CancellationToken)

Triggered when the application host is ready to start the service.

StopAsync(CancellationToken)

Triggered when the application host is performing a graceful shutdown.