Module: DB::Postgres::Native::IO

Defined in:
lib/db/postgres/native/connection.rb

Class Method Summary collapse

Class Method Details

.new(fd, mode) ⇒ Object


100
101
102
# File 'lib/db/postgres/native/connection.rb', line 100

def self.new(fd, mode)
	Async::IO::Generic.new(::IO.new(fd, mode, autoclose: false))
end