Method SetValueAndUpdateAsync
SetValueAndUpdateAsync(TValue, CancellationToken)
Sets the given value and asynchronously updates the object this property belongs to
Declaration
Task SetValueAndUpdateAsync(TValue newValue, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | newValue | The new value to be set |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task | The result of the operation |