State Manager. Clear Cache Async(CancellationToken) Method
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
The token to monitor for cancellation requests.
A task that represents the asynchronous clear cache operation.
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.