IManagementGrain.GetActiveGrains(GrainType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all activations of the specified grain type.
public System.Threading.Tasks.ValueTask<System.Collections.Generic.List<Orleans.Runtime.GrainId>> GetActiveGrains (Orleans.Runtime.GrainType type);
abstract member GetActiveGrains : Orleans.Runtime.GrainType -> System.Threading.Tasks.ValueTask<System.Collections.Generic.List<Orleans.Runtime.GrainId>>
Public Function GetActiveGrains (type As GrainType) As ValueTask(Of List(Of GrainId))
Parameters
- type
- GrainType
The type.
Returns
A list of all active grains of the specified type.