File: kernel.rb

package info (click to toggle)
ruby-retriable 3.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 176 kB
  • sloc: ruby: 478; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
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