Sha256: ed249ae0750872c546f056dbcebb38d4ab3fd8601c4011f796f3666f6834fde3

Contents?: true

Size: 560 Bytes

Versions: 8

Compression:

Stored size: 560 Bytes

Contents

module HTTPX
  class Timers
    @interval: Array[Interval]

    def after: (Numeric interval_in_secs) { () -> void } -> void

    def wait_interval: () -> Numeric?

    def fire: (?StandardError error) -> void

    def cancel: () -> void

    private

    def initialize: () -> void

    class Interval
      include Comparable

      attr_reader interval: Numeric

      def to_f: () -> Float

      def <<: (^() -> void) -> void

      def elapse: (Numeric elapsed) -> Numeric
      private

      def initialize: (Numeric interval) -> void
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
httpx-0.18.7 sig/timers.rbs
httpx-0.18.6 sig/timers.rbs
httpx-0.18.5 sig/timers.rbs
httpx-0.18.4 sig/timers.rbs
httpx-0.18.3 sig/timers.rbs
httpx-0.18.2 sig/timers.rbs
httpx-0.18.1 sig/timers.rbs
httpx-0.18.0 sig/timers.rbs