mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 09:06:20 +02:00
Code improvements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user