Guilherme Espada

Results 21 comments of Guilherme Espada

Well, to be honest, if people are dicks as czar, they can do something similar too.

What is your suggestion? I think the odds are low enough that this isn't a good attack vector.

This is useful, for example, if my events are produced by polling, instead of pushing. If there are no listeners, then it isn't efficient to poll.

The way I'd implement it would be having `bus.post(message).asynchronously()` return some kind of future that tells you if it actually got delivered or not, but I'm not sure if that's...

I think `isDeliverable` should still be considered a valid solution, since the weak-reference-but-not-collected doesn't show up if you are mindful of where you {,de}register listeners. I even think there's room...

Sub-level callback-style might be useful in concurrent systems or for debug reporting, but currently I have no use for it.

An advantage to this is that it could also automatically take requests

Prettyness can be worked on, and requests can still be answered by humans too, if they deem it not to be good enough