[#btcsignals-scoped_connection-2constructor-08] = xref:btcsignals.adoc[btcsignals]::xref:btcsignals/scoped_connection.adoc[scoped_connection]::scoped_connection :relfileprefix: ../../ :mrdocs: Take ownership of a connection and disconnect it when this object is destroyed. == Synopsis Declared in `<util/btcsignals.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit scoped_connection(xref:btcsignals/connection.adoc[connection] rhs) noexcept; ---- == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | The connection to manage. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#