# How to send and receive messages between nodes?

**URL:** <https://discourse.nodered.org/t/how-to-send-and-receive-messages-between-nodes/35743>\
**Category:** Core Development\
**Created:** [11 November 2020 12:59 UTC](https://discourse.nodered.org/t/how-to-send-and-receive-messages-between-nodes/35743 "2020-11-11T12:59:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zl2su](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zl2su](https://discourse.nodered.org/u/zl2su)\
**Post date:** [11 November 2020 12:59 UTC](https://discourse.nodered.org/t/how-to-send-and-receive-messages-between-nodes/35743/1 "2020-11-11T12:59:00Z")

</div>

Hi.

As far as I know, Nodes send and receive messages between nodes in an event-driven manner.  
For example, you can view the results for data generated, such as debug nodes.  
Within the debug node, we checked that messages were sent and received using the public and the subscription.

So I'm currently developing a new component using Node-RED,  
do you have any documents related to event-handler?  
Or is there a place where I can see related information?

If you know the information, please share it with me.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 November 2020 13:06 UTC](https://discourse.nodered.org/t/how-to-send-and-receive-messages-between-nodes/35743/2 "2020-11-11T13:06:29Z")

</div>

Hi @zl2su

there were a couple blog posts last year that described some of the way messages passing related to the node.js event loop - and some of the changes that went into the 1.0 release

> **[Making flows asynchronous by default](https://nodered.org/blog/2019/08/16/going-async)**
>
> Changes are coming in Node-RED 1.0 to how messages are routed in a flow. Find out what it means to go asynchronous.

Are there specific questions you had about it? I'd be happy to answer them if I can - but without more information about what you're looking for, its hard to know what information to provide.

---

<div class="post-metadata">

**Author:** ![zl2su](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@zl2su](https://discourse.nodered.org/u/zl2su)\
**Post date:** [12 November 2020 01:07 UTC](https://discourse.nodered.org/t/how-to-send-and-receive-messages-between-nodes/35743/3 "2020-11-12T01:07:33Z")

</div>

Oh, that was the information I was looking for. 🙂  
Thanks for sharing the information.  
I'll refer to it and try again.!!!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 January 2021 01:07 UTC](https://discourse.nodered.org/t/how-to-send-and-receive-messages-between-nodes/35743/4 "2021-01-11T01:07:38Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
