Table of Contents

Method WithRetention

Namespace
Ratatoskr.EfCore
Assembly
Ratatoskr.EfCore.dll

WithRetention(TimeSpan)

Enables automatic cleanup of completed handler statuses older than the specified retention period. Poisoned statuses are never auto-deleted — they require manual investigation. Orphaned inbox messages (with no remaining handler statuses) are also deleted.

public InboxBuilder<TDbContext> WithRetention(TimeSpan period)

Parameters

period TimeSpan

Returns

InboxBuilder<TDbContext>