Conceptual
Login

Publish-Subscribe Pattern

Producers emit events to a channel without knowing the consumers; subscribers register callbacks and are notified on each emission. Decouples producer from consumer but obligates subscribers to unsubscribe, or the channel leaks dead listeners.