Skip to content

Commit

Permalink
Merge pull request #35 from alesgenova/postmate-ref
Browse files Browse the repository at this point in the history
Reference solved postmate issues
  • Loading branch information
alesgenova authored Jan 10, 2021
2 parents d927b5c + 7071bff commit e37975e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,12 @@ ParentHandshake(messenger).then((connection) => {

### Output
![debug output](debug.png)

## References
The __post-me__ API is loosely inspired by [postmate](https://github.com/dollarshaveclub/postmate), with several major improvements and fixes to outstanding issues:
- Native typescript support
- Method calls can have both arguments and a return value: ([#94](https://github.com/dollarshaveclub/postmate/issues/94))
- Parent and child can both expose methods and/or events (instead of child only): [#118](https://github.com/dollarshaveclub/postmate/issues/118)
- Exceptions that occur in a method call can be caught by the caller.
- Better control over handshake origin and attempts: ([#150](https://github.com/dollarshaveclub/postmate/issues/150), [#195](https://github.com/dollarshaveclub/postmate/issues/195))
- Multiple listeners for each event: ([#58](https://github.com/dollarshaveclub/postmate/issues/58))

0 comments on commit e37975e

Please # to comment.