Forest Logo
search
package_2

retry-with-delay

By @chipioindustries

Roblox

Mirrored

retry-with-delay

Utility function for pcalling and retrying a function multiple times.

local success, result = retryWithDelay(
	getPlayerData, -- function to call
	3, -- maximum retries
	1, -- seconds between each attempt
	234534 -- argument(s) to be passed to the function
)

if success then
	print(result)
else
	print("It didn't work: " .. result)
end

Package Details

Install command (Click to copy)


Version

1.0.1

License

AGPL-3.0

error

Legal risk for closed-source games

infoStrongest copyleft: even network use counts as distribution, so running this in a live game plausibly requires releasing your game's entire source under AGPL-3.0. Not recommended for closed-source projects.

infoLicense identified from the packaged LICENSE file; the manifest declared none.

Automated license review — not legal advice.