JournaledGrain<TGrainState,TEventBase>.ConfirmEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.