mirror of
https://github.com/libp2p/go-eventbus.git
synced 2026-08-21 15:13:27 +08:00
2
opts.go
2
opts.go
@@ -19,7 +19,7 @@ type emitterSettings struct {
|
|||||||
makeStateful bool
|
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
|
// 'remember' last event sent, and when a new subscriber joins the
|
||||||
// bus, the remembered event is immediately sent to the subscription
|
// bus, the remembered event is immediately sent to the subscription
|
||||||
// channel.
|
// channel.
|
||||||
|
|||||||
Reference in New Issue
Block a user