Actor State Provider. enumerate State Names Async(ActorId actorId, CancellationToken cancellationToken) 方法
Creates an enumerable of all the state names associated with specified actor.
Remarks:The enumerator returned from actor state provider is safe to use concurrently with reads and writes to the state provider. It represents a snapshot consistent view of the state provider.
public CompletableFuture<List<String>> enumerateStateNamesAsync(ActorId actorId, CancellationToken cancellationToken)
ID of the actor for which to create enumerable.
CancellationToken object to indicate the cancellation status of the operation.
A task that represents the asynchronous enumeration operation. The value of TResult parameter is an enumerable of all state names associated with specified actor.