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

Implement LISTEN support #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Implement LISTEN support #78

wants to merge 1 commit into from

Conversation

Fox32
Copy link
Contributor

@Fox32 Fox32 commented Jun 5, 2016

A possible fix for #62.

Usage:

   import 'package:postgresql/postgresql.dart';

   main() async {
     var uri = 'postgres://test:test@localhost:5432/test';
     var connection = await connect(uri);

     final stream = connection.listen('test');

     var sub;
     sub = stream.listen((e) {
       print('$e');

       if (e == 'quit') {
         sub.cancel();
         connection.close();
       }
     });

@adaojunior
Copy link

Any plans to merge this ?

@xxgreg xxgreg force-pushed the master branch 2 times, most recently from d63d22b to 4aa545d Compare September 25, 2016 23:19
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