sig/callbacks.rbs in httpx-0.23.4 vs sig/callbacks.rbs in httpx-0.24.0

- old
+ new

@@ -2,12 +2,12 @@ interface _Callable def call: (*untyped) -> void end module Callbacks - def on: (Symbol) { (*untyped) -> void } -> void - def once: (Symbol) { (*untyped) -> void } -> void - def only: (Symbol) { (*untyped) -> void } -> void + def on: (Symbol) { (*untyped) -> void } -> self + def once: (Symbol) { (*untyped) -> void } -> self + def only: (Symbol) { (*untyped) -> void } -> self def emit: (Symbol, *untyped) -> void def callbacks_for?: (Symbol) -> bool def callbacks: () -> Hash[Symbol, Array[_Callable]] | (Symbol) -> Array[_Callable] \ No newline at end of file