Пример #1
0
 public async Task SetLocation(string value)
 => await IndexingTestUtils.SetPropertyAndWriteStateAsync(() => this.State.Location = value, this.indexedState.WriteAsync, this.indexedState.ReadAsync, retry : true);
Пример #2
0
 internal Task SetProperty(Action <TGrainState> setterAction, bool retry)
 => IndexingTestUtils.SetPropertyAndWriteStateAsync(setterAction, this.indexedState, retry);
 internal async Task SetProperty(Action setterAction, bool retry)
 => await IndexingTestUtils.SetPropertyAndWriteStateAsync(setterAction, this.IndexedState.WriteAsync, this.IndexedState.ReadAsync, retry);