Method WithCleanupLockName
WithCleanupLockName(string)
Sets the distributed lock name for the cleanup service. Only one instance acquires the lock per cleanup cycle; others skip the cycle.
public InboxBuilder<TDbContext> WithCleanupLockName(string lockName)
Parameters
lockNamestring
Returns
- InboxBuilder<TDbContext>