SubscribeComplete

virtual PSubscription ICommandSequence::SubscribeComplete(CommandSequenceCompleteHandler handler) = 0

Subscribes a callback to be called when execution of the command sequence is finished, i.e. when the command sequence is in either ECommandState::Completed or ECommandState::Failed.

Parameters

handler – Function to be called when command sequence execution is finished.

Returns

PSubscription – An ISubscription for the callback.

Throws