Handbook
Glossary
next-retry ( retries -- elt/obj/index nanos/timestamp/0 ? )
Vocabulary
retries
Inputs
retries
an
object
Outputs
elt/obj/index
an
object
nanos/timestamp/0
an
object
?
an
object
Definition
USING:
accessors
combinators
kernel
math
;
IN:
retries
:
next-retry
( retries -- elt/obj/index nanos/timestamp/0 ? )
{
[
retry-obj
]
[
[
]
[
time-strategy>>
]
bi
retry-sleep-time
]
[
pick
[
[
1
+
]
change-count
drop
]
[
drop
]
if
swap
]
}
cleave
;