🚧 plugin system, webhook system

This commit is contained in:
2023-04-09 10:52:18 +04:00
parent f2edc94958
commit bfd6c1b54b
60 changed files with 762 additions and 267 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
using System.Threading.Channels;
namespace Ragon.Server;
namespace Ragon.Server.IO;
public class Executor: TaskScheduler, IExecutor
{
@@ -25,9 +25,9 @@ public class Executor: TaskScheduler, IExecutor
private Queue<Task> _pendingTasks;
private TaskFactory _taskFactory;
public void Run(Action action)
public Task Run(Action action)
{
_taskFactory.StartNew(action);
return _taskFactory.StartNew(action);
}
public Executor()