SubscribeTrigger

virtual PSubscription ILatch::SubscribeTrigger(LatchTriggeredHandler handler) = 0

Subscribes a callback to be executed when the latch is triggered.

Parameters

handler – Function to be called when latch is triggered.

Returns

PSubscription – An ISubscription for the callback.

Throws