using Cysharp.Threading.Tasks;
using ShrinkNetwork;

namespace ShrinkNetwork.ServerHost.Framework;

public interface IShrinkServerModule
{
    string Name { get; }

    void ConfigureService(ServerModuleContext context, ShrinkNetworkService service, string transportName);

    UniTask StartAsync(ServerModuleContext context, CancellationToken cancellationToken);
}
