What does it mean to add a node with a function that returns a function that returns a promise?