Subscribe

virtual PSubscription IEventResponse::Subscribe(EventResponseHandler handler) = 0

Subscribes a callback to be executed when this response is triggered.

Parameters

handler – Function to be called.

Returns

PSubscription – An ISubscription for the callback.

Throws