Pagination state management with Function node and Context in Node-RED
A design goal is to process a large dataset in bounded chunks within a Node-RED flow. Data moves between nodes as msg objects and a Function node is intended to apply custom logic for chunking and forwarding results. State for pagination, such as a cursor or offset, needs to persist across successive messages. The Context API provides node, flow and global s