Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kamleshchandnani authored Jan 9, 2018
1 parent 3d943df commit e8dc48d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit e8dc48d

Please sign in to comment.