Closed spencerkimball closed 8 years ago
Perfect timing, I was just about to add something like this myself as I'm finding Subscribe()
to be insufficient. Thanks!
Great! This is a very cool mechanism; and I like the attention paid to making it almost entirely lock-free. We're planning to start making considerable use of it in CockroachDB.
This allows for a single listener across many circuit breakers, a convenient pattern in some use cases.