A multicast callback list. Handlers run synchronously on the emitting thread in subscription order. Movable (subscriptions follow the moved state), not copyable, and not thread-safe.
What an event_subscription talks to. Events implement it through their shared state so a subscription outliving its event finds the state gone and becomes inert.
A multicast callback list. Handlers run synchronously on the emitting thread in subscription order. Movable (subscriptions follow the moved state), not copyable, and not thread-safe.
Owns one subscription to an event (or an event_bus channel). Move-only; destroying or releasing it unsubscribes. When the event is destroyed first the subscription becomes inert and release() is a no-op.