@Jonathan_Blow Unfortunately sleep function never ever worked well in Windows. I don't know if that would fit you needs, but have you considered using hibernation instead? It takes longer to wake but in my experience it works substantially more reliably.
@cmuratori@Peter_shirley I've opened their site on my mobile phone and the back button on page is not working. I have to go back all the way to the home page to observe a different product.
@bitbrain Suppose I subscribe with a callback which prints "hello" and unsubscribes itself. How many "hellos" this implementation will print if I call publish twice?
@cmuratori I see that this observation is making you upset but you better than many know how hard it is to write a performant software. It affects development velocity which often is more important for success in competition. I share your sentiment on this matter though.
@cmuratori I think many engineers come to these conclusions at some point in their careers. You have interesting type aliases and some other helpers. Do you have a reasonably large piece of open source code to read and use it as a source of inspiration?