IActorStateManager.ClearCacheAsync(CancellationToken) Method

Definition

Clears all the cached actor states and any operation(s) performed on IActorStateManager since last state save operation.

public System.Threading.Tasks.Task ClearCacheAsync (System.Threading.CancellationToken cancellationToken = null);
abstract member ClearCacheAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task that represents the asynchronous clear cache operation.

Remarks

All the operation(s) performed on IActorStateManager since last save operation are cleared on clearing the cache and will not be included in next save operation.

Applies to