[#BloombergLP-bdlmt-Signaler_Node-connect] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/Signaler_Node.adoc[Signaler_Node]::connect :relfileprefix: ../../../ :mrdocs: Implements `Signaler::connect`. Connect the specified `slot`, a callable object which must meet the `Slot Object Requirements` described in the component documentation, to this signaler. Specify a `group` used to order slots upon invocation. Return an instance of `SignalerConnection` representing the created connection. This function meets the strong exception guarantee. Note that the connected slot may be called by a signal emitted from another thread before this function completes. Also note that it is unspecified whether connecting a slot while the signaler is emitting will result in the slot being called immediately. Note that `t_FUNC` may have a return type other than `void`, but in that case, when the slot is called, the return value will be discarded. == Synopsis Declared in `<bdlmt_signaler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_FUNC> xref:BloombergLP/bdlmt/SignalerConnection.adoc[SignalerConnection] connect( t_FUNC&& slot, int group); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#