mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
21 lines
485 B
Plaintext
21 lines
485 B
Plaintext
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 |