after_sleep_none()does nothing.after_sleep_log()passes a message describing the attempt tologger.
Arguments
- logger
Function taking a single message string. Defaults to
message().
Value
A hook to pass to retry().
Examples
after_sleep_log(function(msg) cat(msg, "\n"))
#> <garnish::after_sleep_log>
#> @ logger: function (msg)