Msg is unique for each flow

Hi all I have a simple conceptual question
I have a flow and many digital inputs. Each digital inputs is connect to a different function. Or better different functions for different digital inputs. Inside function I read the msg.payload and change it. If I have the two digital inputs ON together the two different function run in the same time. I would ask if they modify The same msg. Payload which continuous change respect to execution time of functions or if the two msg. Payload are completely different in the flow.
Many thanks

No the two msgs will run seperately from each other. Each mes is processed by a node single. If you must have the data from multile nodes processed at the same time, you need t use the join node or store the data in a context variable.