From e8dc48dda6eb069c1fe371dc28abd1fa3048c012 Mon Sep 17 00:00:00 2001 From: Kamlesh Chandnani Date: Tue, 9 Jan 2018 14:39:14 +0530 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d20863..a5dff8a 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,12 @@ or npm install walky-talky --save ``` -## Usage +## Purpose +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. + +This can also act as a communication bridge between two applications. +## Usage ```js // module.js import WalkyTalky from "walky-talky";