Sha256: ea9e4a00e005e76c312fcc9a50518b442ed271c51c6f05e5e9cfeca5c86fd67f

Contents?: true

Size: 356 Bytes

Versions: 11

Compression:

Stored size: 356 Bytes

Contents

module HTTPX
  interface _Callable
    def call: (*untyped) -> void
  end

  module Callbacks
    def on: (Symbol) { (*untyped) -> void } -> void
    def once: (Symbol) { (*untyped) -> void } -> void
    def emit: (Symbol, *untyped) -> void

    def callbacks: () -> Hash[Symbol, Array[_Callable]]
                  | (Symbol) -> Array[_Callable]
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
httpx-0.13.2 sig/callbacks.rbs
httpx-0.13.1 sig/callbacks.rbs
httpx-0.13.0 sig/callbacks.rbs
httpx-0.12.0 sig/callbacks.rbs
httpx-0.11.3 sig/callbacks.rbs
httpx-0.11.2 sig/callbacks.rbs
httpx-0.11.1 sig/callbacks.rbs
httpx-0.11.0 sig/callbacks.rbs
httpx-0.10.2 sig/callbacks.rbs
httpx-0.10.1 sig/callbacks.rbs
httpx-0.10.0 sig/callbacks.rbs