Skip to content

IJournaledStateManager.WriteStateAsync(CancellationToken)

WriteStateAsync(CancellationToken)

abstract
public abstract ValueTask WriteStateAsync(CancellationToken cancellationToken = default(CancellationToken))
Persists pending changes from the registered state machines to the journal.

Parameters

cancellationTokenCancellationToken
The token used to cancel the caller's wait.

Returns

A task representing the write acknowledgement.