retry — async plugin that retries failed dispatches with configurable backoff.
const bus = createAsyncCommandBus()bus.use(retry({ maxAttempts: 3, strategy: 'exponential', baseDelay: 200 })) Copy
const bus = createAsyncCommandBus()bus.use(retry({ maxAttempts: 3, strategy: 'exponential', baseDelay: 200 }))
retry — async plugin that retries failed dispatches with configurable backoff.