class

Rayo::PG::BlockingTransport

Inherits Reference < Object

Raw blocking syscalls: drain writes and reads together so a large pipeline cannot deadlock when both peers fill their socket buffers.

Constructors

new(url : String, max_depth : Int32 = 16384)
Source

Instance methods

close
Source
conn
Source
detach

Startup may block; the worker then transfers this authenticated socket to its ring.

Source
drain
Source
flush
Source
pending
Source
query(stmt : Statement, *args, state : Int64 = 0_i64, &callback : Result, Int64 -> Nil) : Nil
Source
query(stmt : Statement, *args, state : Pointer(T), &callback : Result, Pointer(Void) -> Nil) : Nil forall T
Source
receive
Source