2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-12-14 08:50:23 +00:00

Deserialization fix

This commit is contained in:
2025-11-16 11:06:20 +03:00
parent e2e4ac90bc
commit d730fe1b8d
14 changed files with 571 additions and 221 deletions

View File

@@ -53,10 +53,10 @@ public class AsyncBag<T> : AsyncReply, IAsyncBag
//if (!sealedBag && !resultReady)
// throw new Exception("Not sealed");
Timeout(6000, () =>
{
Console.WriteLine("Timeout " + count + this.Result);
});
//Timeout(6000, () =>
//{
//Console.WriteLine("Timeout " + count + this.Result);
//});
base.Then(new Action<object>(o => callback((T[])o)));
return this;

View File

@@ -73,6 +73,8 @@ public class AsyncReply
public Exception Exception => exception;
public static AsyncReply<T> FromResult<T>(T result) => new AsyncReply<T>(result);
public object Wait()
{
if (resultReady)

View File

@@ -69,6 +69,7 @@ public class AsyncReply<T> : AsyncReply
}
public AsyncReply()
: base()
{