mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-08-18 15:33:33 +08:00
13 lines
406 B
C#
13 lines
406 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace LanMountainDesktop.AirAppSdk;
|
|
|
|
public interface IAirAppWorker
|
|
{
|
|
void ConfigureServices(IAirAppWorkerContext context, IServiceCollection services);
|
|
|
|
Task StartAsync(IAirAppWorkerContext context, IServiceProvider services, CancellationToken cancellationToken = default);
|
|
|
|
Task StopAsync(CancellationToken cancellationToken = default);
|
|
}
|