Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | event: use sync.Once for init for faster/cleaner locking | Péter Szilágyi | 2017-02-03 | 1 | -11/+5 |
| | |||||
* | event: address review issues (multiple commits) | Felix Lange | 2017-02-03 | 1 | -11/+20 |
| | | | | | | | | | | | | | event: address Feed review issues event: clarify role of NewSubscription function event: more Feed review fixes * take sendLock after dropping f.mu * add constant for number of special cases event: fix subscribing/unsubscribing while Send is blocked | ||||
* | event: add new Subscription type and related utilities | Felix Lange | 2017-01-26 | 1 | -0/+240 |
This commit introduces a new Subscription type, which is synonymous with ethereum.Subscription. It also adds a couple of utilities that make working with Subscriptions easier. The mot complex utility is Feed, a synchronisation device that implements broadcast subscriptions. Feed is slightly faster than TypeMux and will replace uses of TypeMux across the go-ethereum codebase in the future. |