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

Add ability to use async: pid() to specify consumer #14

Merged
merged 1 commit into from
Oct 1, 2017

Conversation

andrewvy
Copy link
Owner

@andrewvy andrewvy commented Oct 1, 2017

Closes #13.

This modifies the RPC option: async: true to also accept a pid, so that async: pid() will cause the async message reply to be received at the specified pid.

Example:

ChromeRemoteInterface.RPC.Page.navigate(page_pid, %{url: "https://youtube.com"}, async: pid)

@andrewvy andrewvy merged commit 4cd53e7 into master Oct 1, 2017
@andrewvy andrewvy deleted the feature/configure-pids branch October 1, 2017 16:20
@bcardarella
Copy link
Contributor

🎉

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

Successfully merging this pull request may close these issues.

None yet

2 participants