Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher[T any] struct { // contains filtered or unexported fields }
func NewPublisher ¶
func (*Publisher[T]) GetSubscriberCount ¶
func (*Publisher[T]) Subscribe ¶
func (p *Publisher[T]) Subscribe(subscriber Subscriber[T])
func (*Publisher[T]) Unsubscribe ¶
type Subscriber ¶
Click to show internal directories.
Click to hide internal directories.