ClearStateAsync(string, GrainId, IGrainState<T>, CancellationToken)
public Task ClearStateAsync<T>(string grainType, GrainId grainId, IGrainState<T> grainState, CancellationToken cancellationToken)Delete / Clear data function for this storage instance.
Parameters
grainTypestring- Name of the state for this grain.
grainIdGrainId- Grain ID.
grainStateIGrainState<T>- Copy of last-known state data object for this grain.
cancellationTokenCancellationToken- The cancellation token.
Returns
Completion promise for the Delete operation on the specified grain.
