Files

13 lines
406 B
C#
Raw Permalink Normal View History

using Microsoft.Extensions.DependencyInjection;
2026-08-11 23:03:55 +08:00
namespace LanMountainDesktop.AirAppSdk;
2026-08-11 23:03:55 +08:00
public interface IAirAppWorker
{
2026-08-11 23:03:55 +08:00
void ConfigureServices(IAirAppWorkerContext context, IServiceCollection services);
2026-08-11 23:03:55 +08:00
Task StartAsync(IAirAppWorkerContext context, IServiceProvider services, CancellationToken cancellationToken = default);
Task StopAsync(CancellationToken cancellationToken = default);
}