IActorStateManager.GetStateNamesAsync(CancellationToken) Method

Definition

Creates an enumerable of all actor state names for current actor.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> GetStateNamesAsync (System.Threading.CancellationToken cancellationToken = null);
abstract member GetStateNamesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>

Parameters

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task that represents the asynchronous enumeration operation. The value of TResult parameter is an enumerable of all actor state names.

Exceptions

The operation was canceled.

Applies to