SubscribeStateChange

virtual PSubscription ITopController::SubscribeStateChange(TopControllerStateChangeHandler handler) = 0

Registers a callback that is called when the top-controller state changes.

Parameters

handler – Function to be called when the top-controller state changes.

Returns

PSubscription – An ISubscription for the callback.

Throws
Remarks

Execution does not require a subscription resource.