Versions in this module Expand all Collapse all v3 v3.32.1 Oct 24, 2024 v3.32.0 Sep 5, 2024 Changes in this version + func New(c workerpool.Component, ps events.PubSub, opts ...Option) events.PubSub + type Matcher interface + Matches func(name string) bool + var MatchAll Matcher = MatcherFunc(func(string) bool { ... }) + var MatchNone Matcher = MatcherFunc(func(string) bool { ... }) + func MatchNames(names ...string) Matcher + func MatchPatterns(patterns ...string) (Matcher, error) + type MatcherFunc func(name string) bool + func (f MatcherFunc) Matches(name string) bool + type Option interface + func WithStream(ps events.Subscriber, matcher Matcher) Option