Skip to content

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