class PG::ListenConnection
- PG::ListenConnection
- Reference
- Object
Defined in:
pg.crConstructors
- .new(url, channels : Enumerable(String), blocking : Bool = false, &blk : PQ::Notification -> )
- .new(url, *channels : String, blocking : Bool = false, &blk : PQ::Notification -> )
Instance Method Summary
-
#close
Close the connection.
Constructor Detail
def self.new(url, channels : Enumerable(String), blocking : Bool = false, &blk : PQ::Notification -> )
#