mirror of
https://github.com/libp2p/go-eventbus.git
synced 2024-12-26 23:30:08 +08:00
commit
8d129b2f9c
2
opts.go
2
opts.go
@ -19,7 +19,7 @@ type emitterSettings struct {
|
||||
makeStateful bool
|
||||
}
|
||||
|
||||
// Stateful is an Emitter option which makes makes the eventbus channel
|
||||
// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user