Interface IEdgeHost
Owns one-time startup. Every Qavren.Edge service entry point calls EnsureStartedAsync(CancellationToken) first, so a startup failure surfaces on first use with its real cause and no caller ever races migrations.
public interface IEdgeHost
Properties
- Started
Completes when every startup task has finished; faults with the first failure.
Methods
- EnsureStartedAsync(CancellationToken)
Calls Start() if needed, awaits Started, and rethrows its fault.
- Start()
Begins startup exactly once. Safe to call repeatedly and from any thread. Never blocks.
- StopAsync(CancellationToken)
Raises
Stoppingon the lifecycle hub and disposes owned resources.