Skip to content

Support notifications on tokio-postgres #243

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

Merged
merged 1 commit into from
Mar 7, 2017
Merged

Conversation

sfackler
Copy link
Owner

@sfackler sfackler commented Mar 3, 2017

Closes #242

let handle = l.handle();

let done = Connection::connect("postgres://postgres@localhost", TlsMode::None, &handle)
.then(move |c| c.unwrap().batch_execute("LISTEN test_notifications"))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the move required here?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, will delete.

@sfackler sfackler force-pushed the async-notifications branch from a5a5f0e to 9126ec4 Compare March 7, 2017 23:38
@sfackler sfackler merged commit 2536131 into master Mar 7, 2017
@sfackler sfackler deleted the async-notifications branch March 7, 2017 23:47
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.

2 participants