mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 13:33:13 +00:00
added Wait
This commit is contained in:
@ -56,6 +56,11 @@ namespace Esyur.Core
|
||||
return new AsyncAwaiter<T[]>(this);
|
||||
}
|
||||
|
||||
public new T[] Wait()
|
||||
{
|
||||
return base.Wait().Select(x => (T)x).ToArray();
|
||||
}
|
||||
|
||||
public AsyncBag()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user