Open sandboxFocus

Method PerformFullCollectionAsync

PerformFullCollectionAsync(CancellationToken)

Performs a full garbage collection scan of all Redis keys. This method initializes the backend if necessary and then scans all keys to detect and fix orphaned dependency entries.

Declaration
public Task PerformFullCollectionAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
Task

A Task representing the asynchronous operation.