[#BloombergLP-bdlmt-Signaler_Node-connect]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/Signaler_Node.adoc[Signaler&lowbar;Node]::connect
:relfileprefix: ../../../
:mrdocs:

Implements `Signaler&colon;&colon;connect`&period; Connect the specified `slot`, a callable object which must meet the `Slot Object Requirements` described in the component documentation, to this signaler&period; Specify a `group` used to order slots upon invocation&period; Return an instance of `SignalerConnection` representing the created connection&period; This function meets the strong exception guarantee&period; Note that the connected slot may be called by a signal emitted from another thread before this function completes&period; Also note that it is unspecified whether connecting a slot while the signaler is emitting will result in the slot being called immediately&period; Note that `t&lowbar;FUNC` may have a return type other than `void`, but in that case, when the slot is called, the return value will be discarded&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;signaler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;FUNC&gt;
xref:BloombergLP/bdlmt/SignalerConnection.adoc[SignalerConnection]
connect(
    t&lowbar;FUNC&& slot,
    int group);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
