File: kernel.rb

package info (click to toggle)
ruby-retriable 3.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 256 kB
  • sloc: ruby: 654; makefile: 6; sh: 4
file content (13 lines) | stat: -rw-r--r-- 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require_relative "../../retriable"

module Kernel
  def retriable(opts = {}, &block)
    Retriable.retriable(opts, &block)
  end

  def retriable_with_context(context_key, opts = {}, &block)
    Retriable.with_context(context_key, opts, &block)
  end
end