WriteStateAsync(string, GrainId, IGrainState<T>)
abstract
public abstract Task WriteStateAsync<T>(string stateName, GrainId grainId, IGrainState<T> grainState)Write data function for this storage instance.
Parameters
stateNamestring- Name of the state for this grain
grainIdGrainId- Grain ID
grainStateIGrainState<T>- State data object to be written for this grain.
Returns
Completion promise for the Write operation on the specified grain.
