News for hackers. Stuff that matters.
Re:Microsoft takes .NET open source and cross-platform by Matthias247 on Thursday November 13, 2014 @07:43AM (#8601212)
How about BlockingCollection<T>? If I understand it correctly you can even have select like sementics with BlockingCollection.TakeFromAny(...)

Edit: Sorry, messed it up a little bit. BlockingCollection will block your current thread for any other computation and does not allow to await on it.

But there seem to be alternatives: http://stackoverflow.com/questions/21225361/is-there-anythin... http://blog.stephencleary.com/2012/12/async-producer-consume...

There are no comments on this comment yet.