Бэкенд отмены задачи

This commit is contained in:
micialware committed 2025-02-22 09:28:59 +03:00
1 parent a887b614c7
commit c71585b100
12 files changed
+141 -36

No files matched your search

+7
View File
@@ -1,4 +1,6 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using Example.Shared;
using mROA.Implementation.Attributes;
@@ -26,5 +28,10 @@ namespace Example.Backend
{
throw new NotImplementedException();
}
public async Task AsyncTest(CancellationToken token)
{
await Task.Delay(TimeSpan.FromSeconds(5), token);
}
}
}