Skip to content

Commit

Permalink
Added clarification for nested listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
KeithHenry committed Apr 12, 2017
1 parent dd5b6ba commit 391567e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ This is held in its own file: [`execute-async-function.js`](execute-async-functi
<script type="text/javascript" src="execute-async-function.js"></script>
```

This relies on a `chrome.runtime.onMessage.addListener` subscription, so it will fail if called from within a listener event.

## Supported APIs
This only 'promisifies' API functions that use callbacks and are not marked as deprecated.
No backwards compatibility is attempted.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chrome-extension-async",
"version": "3.2.3",
"version": "3.2.4",
"description": "Promise wrapper for the Chrome extension API so that it can be used with async and await rather than callbacks",
"main": "chrome-extension-async.js",
"repository": {
Expand Down

0 comments on commit 391567e

Please sign in to comment.