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