# Node.on('input', function(msg, send, done) - what is send for?

**URL:** <https://discourse.nodered.org/t/node-on-input-function-msg-send-done-what-is-send-for/28988>\
**Category:** Developing Nodes\
**Created:** [25 June 2020 17:05 UTC](https://discourse.nodered.org/t/node-on-input-function-msg-send-done-what-is-send-for/28988 "2020-06-25T17:05:16Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 June 2020 09:25 UTC](https://discourse.nodered.org/t/node-on-input-function-msg-send-done-what-is-send-for/28988/14 "2020-06-26T09:25:51Z")

</div>

> [@knolleary](#):
>
> A node should make it clear to the user what they can expect.

Certainly, that is arguably the most important point.

> [@knolleary](#):
>
> I can't remember if we already add a flag to the error if recorded with done(error).

I don't think so, I can't see it anyway.

I have some further questions related to this but rather than have the thread head even further off topic I have [started a new one](https://discourse.nodered.org/t/how-would-exec-node-be-designed-now/29020) with some specific questions.

---

_[View the full topic](https://discourse.nodered.org/t/node-on-input-function-msg-send-done-what-is-send-for/28988)._
