You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,12 @@
7
7
8
8
EventListeners can easily go out of hand if not used with utmost care, walky-talky is a tiny JS library to create a message channel using Publish/Subscribe pattern.
9
9
10
+
## Purpose
11
+
If you ever want to create a channel where anyone can subscribe to the custom action types and associate a custom handler with it, Then based on some event it is published with the action type. The subscriber who had subscribed to this event will get notified and the handler which was associated with it while subscribing will be called with params.
12
+
13
+
This can also act as a communication bridge between two applications.
14
+
15
+
10
16
## Installation
11
17
12
18
```
@@ -19,11 +25,6 @@ or
19
25
npm install walky-talky --save
20
26
```
21
27
22
-
## Purpose
23
-
If you ever want to create a channel where anyone can subscribe to the custom action types and associate a custom handler with it, Then based on some event it is published with the action type. The subscriber who had subscribed to this event will get notified and the handler which was associated with it while subscribing will be called with params.
24
-
25
-
This can also act as a communication bridge between two applications.
0 commit comments