Search Results for

    Show / Hide Table of Contents

    Interface ICleanupStore

    A store that supports deleting old processed records.

    Namespace: Chapar.Core.Cleanup
    Assembly: Chapar.Core.dll
    Syntax
    public interface ICleanupStore

    Methods

    | Edit this page View Source

    DeleteProcessedAsync(DateTime, CancellationToken)

    Deletes all processed records older than the specified date. Returns the number of deleted records.

    Declaration
    Task<int> DeleteProcessedAsync(DateTime olderThan, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    DateTime olderThan

    Cutoff date; records processed before this will be deleted.

    CancellationToken cancellationToken

    Cancellation token.

    Returns
    Type Description
    Task<int>

    Number of deleted records.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026