public Task UpdateAsync(CircuitState state, CancellationToken token, bool continueOnCapturedContext) { Interlocked.Exchange(ref this.storedState, state); return(Constants.CompletedTask); }
public void Update(CircuitState state) => Interlocked.Exchange(ref this.storedState, state);