JournaledGrain<TGrainState,TEventBase>.RefreshNow 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.
Retrieves the latest state now, and confirms all previously raised events. Effectively, this enforces synchronization with the global state.
Await this before reading the state to ensure strong consistency (linearizability) even if there are multiple instances of this grain
protected System.Threading.Tasks.Task RefreshNow ();
member this.RefreshNow : unit -> System.Threading.Tasks.Task
Protected Function RefreshNow () As Task
Returns
a task that completes once the log has been refreshed and the events have been confirmed.