Sha256: c0d57b5a94e5f0f4c52d1ad61794109e3f474206674d7f38bf3a832acaf8cbf0

Contents?: true

Size: 452 Bytes

Versions: 2

Compression:

Stored size: 452 Bytes

Contents

module HTTPX
  class Selector
    READABLE: :r | :rw
    WRITABLE: :w | :rw
    @selectables: Array[_ToIO]

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

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

    def initialize: () -> untyped

    def select_many: (Numeric?) { (_ToIO) -> void } -> void
    def select_one: (Numeric?) { (_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.15.4 sig/selector.rbs
httpx-0.15.3 sig/selector.rbs