Softanza
StartFrançais
Softanza
The library documents itself · Collections & objects

stzRetryBudget

9 own methods · 0 forms written with extensions, listed under their method

the source: base/common/stzRetryBudget.ring(opens in a new tab) · All classes · The area reference: Collections & objects

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 0 come from the library's tests; 7 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzRetryBudget(1, 10). 2 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Allow
Spend one retry. Returns TRUE if the budget allowed it. (Named Allow, not Try -- `try` is a Haro keyword.)
composed example
o1 = new stzRetryBudget(1, 10)
? o1.Allow()
#--> 1
composed from the signature, run for this page
no extension
Spend
Alias for Allow().
composed example
o1 = new stzRetryBudget(1, 10)
? o1.Spend()
#--> 1
composed from the signature, run for this page
no extension
AllowN
Spend n retries at once (all-or-nothing). Returns TRUE if granted.
composed example
o1 = new stzRetryBudget(1, 10)
? o1.AllowN(2)
#--> 0
composed from the signature, run for this page
no extension
Available
Tokens (retries) currently available -- a float, refills continuously.
composed example
o1 = new stzRetryBudget(1, 10)
? o1.Available()
#--> 1
composed from the signature, run for this page
no extension
Budget
(no comment in the source: the name reads as a sentence) budget
composed example
o1 = new stzRetryBudget(1, 10)
? o1.Budget()
#--> 1
composed from the signature, run for this page
no extension
Window
(no comment in the source: the name reads as a sentence) window
composed example
o1 = new stzRetryBudget(1, 10)
? o1.Window()
#--> 10
composed from the signature, run for this page
no extension
RefillPerSecond
(no comment in the source: the name reads as a sentence) refill per second
composed example
o1 = new stzRetryBudget(1, 10)
? o1.RefillPerSecond()
#--> 1
composed from the signature, run for this page
no extension
Destroy
(no comment in the source: the name reads as a sentence) destroyno extension