module Retriable

Overview

# include it scoped to the Retriable module
require "retriable"

Retriable.retry do
  # ...
end

# or include it into top level namespace
require "retriable/core_ext/kernel"

retry do
  # ...
end

Extended Modules

Defined in:

retriable.cr
retriable/core_ext/kernel.cr
retriable/exponential_backoff.cr
retriable/settings.cr
retriable/version.cr

Constant Summary

VERSION = {{ (`shards version \"/srv/crystaldoc.info/github-Sija-retriable.cr-v0.2.5/src/retriable\"`).chomp.stringify }}

Class Method Summary

Instance Method Summary

Class Method Detail

def self.settings : Settings #

[View source]

Instance Method Detail

def configure(&) : Nil #

[View source]
def retry #

[View source]
def retry(on = nil, **opts, &) #

ameba:disable Metrics/CyclomaticComplexity


[View source]