sig/timers.rbs in httpx-0.18.7 vs sig/timers.rbs in httpx-0.19.0

- old
+ new

@@ -1,14 +1,15 @@ module HTTPX class Timers - @interval: Array[Interval] + @intervals: Array[Interval] + @next_interval_at: Numeric def after: (Numeric interval_in_secs) { () -> void } -> void def wait_interval: () -> Numeric? - def fire: (?StandardError error) -> void + def fire: (?TimeoutError error) -> void def cancel: () -> void private @@ -16,9 +17,11 @@ class Interval include Comparable attr_reader interval: Numeric + + @callbacks: Array[^() -> void] def to_f: () -> Float def <<: (^() -> void) -> void \ No newline at end of file