type Outcome
import bend-kit-retry@0.3.0.0/retry.bend as Retryimport Base
35# Settled: a success. Failed: a failure that another try would repeat. Rejected: the caller is at fault (such as
36# a 4xx), so another try would repeat it, and it is not the target's failure. Unsafe: a transient failure of a
37# request that must not repeat. Transient: another try can help; after is the server's wait in ms.
38type Outcome is Data:
39 Settled{}
40 Failed{}
41 Rejected{}
42 Unsafe{}
43 Transient{after: Maybe<&2, Nat>}