Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onMessage listener should be able to return true in order to keep the Port open for a response #252

Open
bholtz opened this issue Feb 1, 2017 · 1 comment

Comments

@bholtz
Copy link
Contributor

bholtz commented Feb 1, 2017

From the spec

Return true from the event listener if you wish to call sendResponse after the event listener returns

In the generated code here, we do not expose a way to specify that the optional parameter for the listener return value should be true.

@aefalcon
Copy link

Similarly chrome.runtime.onMessageExternal does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants