Hello I have changed the default context storage to the REDIS.
Configuration:
contextStorage: {
redis: {
module: require("node-red-context-redis"),
config: {
host: "**,
port:***,
}
}
},
When fetching the global data using the change node, it works. But with the function node, it shows: "Error: Callback must be a function"
Tried with and without setting the storeName.
Try the async version
"Writing Functions : Node-RED" https://nodered.org/docs/user-guide/writing-functions#asynchronous-context-access
Edit...
Seems this a known issue (and unreleased code)...
The async function works well but unfortunately this doesn't resolve my issue.
system
Closed
4
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.