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