class PG::ListenConnection

Defined in:

pg.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(url, channels : Enumerable(String), blocking : Bool = false, &blk : PQ::Notification -> ) #

[View source]
def self.new(url, *channels : String, blocking : Bool = false, &blk : PQ::Notification -> ) #

[View source]

Instance Method Detail

def close #

Close the connection.


[View source]