I am using the twitter node. Previously I "hardcoded" the accounts in the "for" field of the Twitter node. That worked.
Now I want to read the accounts from a file, which I do in an function node before calling the Twitter node, yet the twitter node starts before the msg.payload is set, and the twitter node gives an error:
14 Sep 11:43:31 - [error] [twitter in:Twitter] User option selected but no users specified
14 Sep 11:43:31 - [info] Started flows
Note also how the message appears even before the "Started flows" is coming.
I have a msg node that prints the msg.payload, always coming after the twitter node.
How to ensure the msg.payload is set and read by twitter node, before twitter node starts???
I tried runtimeSyncDelivery: true in settings.js but that don't seem to work. Also the twitter node doesn't seem to accept a "refresh" of msg.payload for the "for" field.
14 Sep 11:43:30 - [info] Node-RED version: v1.0.3
14 Sep 11:43:30 - [info] Node.js version: v12.18.3
And twitter node 1.2.0