# README
DEPRECATION NOTICE
This package has moved into go-libp2p as a sub-package, github.com/libp2p/go-libp2p/p2p/host/eventbus
.
go-eventbus
Simple and fast eventbus for type-based local event delivery.
Install
go get github.com/libp2p/go-eventbus
Usage
Check out the GoDocs.
License
Dual-licensed under MIT and ASLv2, by way of the Permissive License Stack.
# Functions
Deprecated: Use github.com/libp2p/go-libp2p/p2p/host/eventbus.BufSize instead.
Deprecated: Use github.com/libp2p/go-libp2p/p2p/host/eventbus.NewBus instead.
Stateful is an Emitter option which makes the eventbus channel 'remember' last event sent, and when a new subscriber joins the bus, the remembered event is immediately sent to the subscription channel.