diff options
author | Felix Lange <fjl@twurst.com> | 2016-07-19 07:39:12 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-01-26 01:44:20 +0800 |
commit | 6d5e100d0dc6fc0b905610850a75b5d4fa907739 (patch) | |
tree | a653dc592af1e7405faeaf9ec9b84f9b32aa3b88 /event/event.go | |
parent | 9b62facdd4bdabfed5ef98d131686c4d2606083a (diff) | |
download | dexon-6d5e100d0dc6fc0b905610850a75b5d4fa907739.tar dexon-6d5e100d0dc6fc0b905610850a75b5d4fa907739.tar.gz dexon-6d5e100d0dc6fc0b905610850a75b5d4fa907739.tar.bz2 dexon-6d5e100d0dc6fc0b905610850a75b5d4fa907739.tar.lz dexon-6d5e100d0dc6fc0b905610850a75b5d4fa907739.tar.xz dexon-6d5e100d0dc6fc0b905610850a75b5d4fa907739.tar.zst dexon-6d5e100d0dc6fc0b905610850a75b5d4fa907739.zip |
event: add new Subscription type and related utilities
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.
Diffstat (limited to 'event/event.go')
-rw-r--r-- | event/event.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/event/event.go b/event/event.go index f8a2eb013..d3e84f0f7 100644 --- a/event/event.go +++ b/event/event.go @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. -// Package event implements an event multiplexer. +// Package event deals with subscriptions to real-time events. package event import ( |