Code improvements

This commit is contained in:
Stone_Red
2025-12-19 23:06:45 +01:00
parent fad12f7271
commit 7c3ab3a154
3 changed files with 34 additions and 44 deletions
+5
View File
@@ -45,6 +45,11 @@ public class RemoteExecutor(string url)
await _connection.StartAsync(cancellationToken);
}
public async Task StopAsync(CancellationToken cancellationToken = default)
{
await _connection.StopAsync(cancellationToken);
}
public bool TryExecute<TDelegate, TResult>(TDelegate del, out TResult? result, params object[] args) where TDelegate : Delegate
{
try