NewPubSub returns a new basic event PubSub.
()
| 32 | |
| 33 | // NewPubSub returns a new basic event PubSub. |
| 34 | func NewPubSub() *PubSub { |
| 35 | return &PubSub{} |
| 36 | } |
| 37 | |
| 38 | // Subscribe starts a subscription for events that match name and identifiers. |
| 39 | // The subscription lasts until the context is canceled. |
no outgoing calls