I am currently using function nodes with multiple outputs. I know how to address them in the return statement, but I would like to address outputs defined directly with node.send() either via their index or, if assigned, via their name. Is there a way to do this?
function sendToOutput(index, msg) {
// Update '10' for how many outputs you have
const result = new Array(10)
result[index] = msg
node.send(result)
}
sendToOutput(3, msg)