Method WithCleanupInterval
WithCleanupInterval(TimeSpan)
Sets how often the cleanup service runs. Only applies when WithRetention(TimeSpan) is configured.
public OutboxBuilder<TDbContext> WithCleanupInterval(TimeSpan interval)
Parameters
intervalTimeSpan
Returns
- OutboxBuilder<TDbContext>