Sha256: f8a4d87889078c4d378c8e8ade236792b5e3130e66bb5d5738dc7831762cbc05

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

module HTTPX
  class Selector
    READABLE: Array[Symbol]
    WRITABLE: Array[Symbol]
    @selectables: Array[_ToIO]

    def register: (_ToIO) -> void
    def deregister: (_ToIO) -> void

    def select: (Numeric? interval) { (_ToIO) -> void } -> void

    private

    def initialize: () -> untyped

    def select_many: (Numeric? interval) { (_ToIO) -> void } -> void
    def select_one: (Numeric? interval) { (_ToIO) -> void } -> void
  end

  type io_interests = :r | :w | :rw
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
httpx-0.16.1 sig/selector.rbs
httpx-0.16.0 sig/selector.rbs