[#BloombergLP-bdlmt-SignalerConnectionGuard-2constructor-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/SignalerConnectionGuard.adoc[SignalerConnectionGuard]::SignalerConnectionGuard :relfileprefix: ../../../ :mrdocs: Create a `SignalerConnectionGuard` object that refers to and assumes management of the same slot, if any, as the specified `connection` object. Upon destruction or assignment, the optionally specified `waitOnDisconnect` determines whether `disconnect` or `disconnectAndWait` will be called on the slot managed by this object, if any. == Synopsis Declared in `<bdlmt_signaler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit SignalerConnectionGuard( xref:BloombergLP/bdlmt/SignalerConnection.adoc[SignalerConnection] const& connection, bool waitOnDisconnect = false); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#