mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
Update
This commit is contained in:
@ -8,8 +8,6 @@ namespace Esiur.Engine
|
||||
{
|
||||
public class AsyncBag<T>:AsyncReply
|
||||
{
|
||||
//List<AsyncReply> replies = new List<AsyncReply>();
|
||||
//List<T> results = new List<T>();
|
||||
Dictionary<AsyncReply, T> results = new Dictionary<AsyncReply, T>();
|
||||
int count = 0;
|
||||
bool sealedBag = false;
|
||||
@ -19,13 +17,6 @@ namespace Esiur.Engine
|
||||
base.Then(new Action<object>(o => callback((T[])o)));
|
||||
}
|
||||
|
||||
/*
|
||||
public void Trigger(T[] result)
|
||||
{
|
||||
Trigger((object)result);
|
||||
}
|
||||
*/
|
||||
|
||||
public void Seal()
|
||||
{
|
||||
sealedBag = true;
|
||||
@ -54,11 +45,5 @@ namespace Esiur.Engine
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
public AsyncBag(T[] result)
|
||||
{
|
||||
this.result = result;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user