Reusing a client connection

I saw that on many actions that use some client connection (MQTT for example), once the client is used and the node’s execution is complete the client is destroyed and the connection ends.

I want to contribute a pr that adds the ability to re-use the client created for publishing MQTT messages in the same workflow at least, or create a different node that then passes a connected client down to a MQTT node that publishes the message,.

How should I go about doing this?

1 Like

Welcome to the community @noamn

Do not think this is possible with the current architecture. @jan might be able to confirm it.

Hey @noamn,

Did you find a solution to your question? Let us know if you need any assistance :slight_smile: