bboyle1234
bboyle1234
Another thought, the line `token.ThrowIfCancelled()` exists in that code because the `AsyncProducerConsumerQueue.DequeueAsync(CancellationToken token)` continues to dequeue items when the token is cancelled, if the item is available without any wait....
Lol i already wrote thousands of lines based on the assumption! (A testament to how awesome the async queue is) Id like the inline documentation to be updated with this...
I like this comment of yours from #16 > Usually, when developers want a semaphore (or AsyncSemaphore) for each object, they just include it in the object itself If I...
I've not seen that particular class, but being familiar with Stephen's style, I'd surmise that the class exposes both synchronous and asynchronous api. The "bool sync" parameter is used by...
I coded this when I needed to "throttle" orders sent to a stock exchange api according to their throttling rules, which was a combination of something like "max 4 orders...
Some code I had lying around, not exactly the same as what you're talking about here, I think, but thought I would share anyways. I suspect might have come to...
You might like to provide a pallete of comparers as well, like the example one I provided, but I'm sure you'd have many ideas in mind.
So glad you're active on this. I made a PR, hope you like it.
I made the PR before I read your comments here, by the way :)
I read through the https://www.nuget.org/packages/Optional package code. My thoughts about it: Well that's a very thoroughly-written library :) But I don't think any part of except the single Optional object...