2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-01-27 01:20:39 +00:00
This commit is contained in:
2025-12-23 18:27:45 +03:00
parent d730fe1b8d
commit 414b34e5aa
16 changed files with 222 additions and 38 deletions

View File

@@ -39,6 +39,8 @@ namespace Esiur.Core;
public class AsyncReply
{
public DateTime ReadyTime;
protected List<Action<object>> callbacks = new List<Action<object>>();
protected object result;
@@ -238,6 +240,8 @@ public class AsyncReply
{
lock (asyncLock)
{
ReadyTime = DateTime.Now;
//timeout?.Dispose();
if (exception != null)
@@ -362,6 +366,9 @@ public class AsyncReply
public AsyncReply(object result)
{
// this.Debug = true;
ReadyTime = DateTime.Now;
resultReady = true;
this.result = result;