
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
@exodus/simple-retry
Advanced tools
yarn add @exodus/simple-retry
import { retry } from '@exodus/simple-retry'
const broadcastTxWithRetry = retry(broadcastFunction, { delayTimesMs: ['10s'] })
const result = await broadcastTxWithRetry(plainTx)
It is possible to trap specific errors and mark them as final when retrying is not needed, like:
const broadcastTxWithRetry = retry(
async (plainTx) => {
try {
return await broadcastFunction(plainTx)
} catch (e) {
if (/specific-final-error/i.test(e.message)) e.finalError = true
throw e
}
},
{ delayTimesMs: ['10s'] }
)
FAQs
Simple Retry
The npm package @exodus/simple-retry receives a total of 7,067 weekly downloads. As such, @exodus/simple-retry popularity was classified as popular.
We found that @exodus/simple-retry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 112 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.