Create a SignalerConnectionGuard that refers to the same slot, if any, as the specified connection, which is left in an unspecified state. Optionally specify waitOnDisconnect indicating whether disconnect or disconnectAndWait will be called on the slot, if any, managed by this object upon destruction or assignment. Throws nothing.
Declared in <bdlmt_signaler.h>
explicit
SignalerConnectionGuard(
bslmf::MovableRef<SignalerConnection> connection,
bool waitOnDisconnect = false) noexcept;