Interface IAsyncUpdateHelper
Coordinates mutually exclusive updates and exposes whether update work is waiting.
public interface IAsyncUpdateHelper
- Extension Methods
Properties
IsUpdatePending
Gets whether any update is waiting to acquire the lock.
bool IsUpdatePending { get; }
Property Value
ShouldStop
Gets whether a stop-requesting update is waiting to acquire the lock.
bool ShouldStop { get; }
Property Value
Methods
BeginUpdateAsync()
Marks a stop-requesting update as pending and asynchronously acquires the update lock.
Task BeginUpdateAsync()
Returns
EndUpdate()
Releases the update lock.
void EndUpdate()
WaitAsync()
Marks an ordinary update as pending and asynchronously acquires the update lock.
Task WaitAsync()