{"id":"chipioindustries/retry-with-delay","name":"retry-with-delay","scope":"chipioindustries","platform":"roblox","description":"Utility function for pcalling and retrying a function multiple times.","version":"1.0.1","latest":"1.0.1","versions":["0.9.1","1.0.0","1.0.1"],"license":"MPL-2.0","licenseRating":"caution","licenseCaveats":["File-level copyleft: if you modify this package's own source files, those modified files must be made available under MPL-2.0. Using it unmodified in a closed-source game is fine.","License identified from the packaged LICENSE file; the manifest declared none."],"licenseVerified":true,"dependencies":{"osyrisrblx/t":{"version":"^3.0.0","alias":"t"}},"integrity":"0d126dd9a9f2fb107c14975b0b4ed6043624e15eebb1e99e32bee2ec6b90071a","likes":0,"downloads":0,"install":"forest install chipioindustries/retry-with-delay","url":"https://forest.dev/p/roblox/chipioindustries/retry-with-delay","files":"https://api.forest.dev/ai/package/roblox/chipioindustries/retry-with-delay/files","readme":"# retry-with-delay\n\nUtility function for pcalling and retrying a function multiple times.\n\n```lua\nlocal success, result = retryWithDelay(\n\tgetPlayerData, -- function to call\n\t3, -- maximum retries\n\t1, -- seconds between each attempt\n\t234534 -- argument(s) to be passed to the function\n)\n\nif success then\n\tprint(result)\nelse\n\tprint(\"It didn't work: \" .. result)\nend\n```","readmeTruncated":false}