Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSub ¶
type PubSub[T any] struct { // contains filtered or unexported fields }
func (*PubSub[T]) Subscribe ¶
func (me *PubSub[T]) Subscribe() (ret *Subscription[T])
type Subscription ¶
type Subscription[T any] struct { Values chan T // contains filtered or unexported fields }
func (*Subscription[T]) Close ¶
func (me *Subscription[T]) Close()
Click to show internal directories.
Click to hide internal directories.