Skip to content

IStateMachine.PrepareWriteAsync(CancellationToken)

PrepareWriteAsync(CancellationToken)

virtual
View source
public virtual ValueTask PrepareWriteAsync(CancellationToken cancellationToken = default(CancellationToken))
Establishes the persistence prerequisites for this state's pending changes.

Parameters

cancellationTokenCancellationToken
The token which cancels preparation when the journal owner stops.

Returns

A completion representing readiness to capture this state.