Contents

class

SushiEngine::EventBus::Subscription

Owns one subscription and removes it when destroyed.

Declared in
engine/foundation/event_bus/include/SushiEngine/event_bus/subscription.hpp

Public Methods

Subscription

Constructs a token that owns nothing.

operator=

Releases the owned subscription, then moves ownership out of other.

~Subscription

Unsubscribes the owned subscription.

reset

Unsubscribes now and owns nothing afterwards, safely even if IBus::unsubscribe_owner already swept the handle.

handle

Returns the owned handle.