mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
20 lines
421 B
Plaintext
20 lines
421 B
Plaintext
module HTTPX
|
|
class Selector
|
|
READABLE: :r | :rw
|
|
WRITABLE: :w | :rw
|
|
|
|
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 |