tenacity · Version 1
Tenacity retry callback order
Tenacity runs before, then the attempted function. If the retry predicate accepts the outcome, after runs, wait computes the delay, and stop chooses exhaustion or before_sleep followed by sleep and the next attempt. An outcome not selected for retry returns or raises.

Artwork and source are available under the MIT license. Embedded fonts retain their separate SIL OFL notices in the SVG. No backlink is required. Native Mermaid or Graphviz source, when provided, regenerates with its own layout.