Sha256: 5eff6f538785f1d9adc56d0ab54e3ba7a760836c59ee24f8da38d2605c46f5c7
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2017-2024, by Samuel Williams. require 'async' require_relative "io/generic" require_relative "io/socket" require_relative "io/version" require_relative "io/endpoint" require_relative "io/endpoint/each" require_relative "io/shared_endpoint" module Async module IO def self.file_descriptor_limit Process.getrlimit(Process::RLIMIT_NOFILE).first end def self.buffer? ::IO.const_defined?(:Buffer) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
async-io-1.43.2 | lib/async/io.rb |
async-io-1.43.1 | lib/async/io.rb |
async-io-1.43.0 | lib/async/io.rb |
async-io-1.42.1 | lib/async/io.rb |