Edit

Share via


JournaledGrain<TGrainState,TEventBase>.ConfirmEvents Method

Definition

Waits until all previously raised events have been confirmed.

await this after raising one or more events, to ensure events are persisted before proceeding, or to guarantee strong consistency (linearizability) even if there are multiple instances of this grain

protected System.Threading.Tasks.Task ConfirmEvents ();
member this.ConfirmEvents : unit -> System.Threading.Tasks.Task
Protected Function ConfirmEvents () As Task

Returns

a task that completes once the events have been confirmed.

Applies to