Skip to content

DurableGrain Methods

Provides convenience methods for grains which manage journaled durable state.

WriteStateAsync(CancellationToken)

View source
protected ValueTask WriteStateAsync(CancellationToken cancellationToken = default(CancellationToken))
Writes the registered journaled state.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.ValueTask representing the write operation.