Skip to content

RedisGrainStorage.ClearStateAsync(string, GrainId, IGrainState<T>)

ClearStateAsync(string, GrainId, IGrainState<T>)

View source
public Task ClearStateAsync<T>(string grainType, GrainId grainId, IGrainState<T> grainState)
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.

Returns

Completion promise for the Delete operation on the specified grain.