public Task AddOrUpdateState(FluentState state) => Task.Run(() => _stateCache[state.Key] = state);
internal FluentStateAccessor(FluentState state, int duration = 1000) { _timer = new System.Timers.Timer(duration); Key = state.Key; }
public Task AddOrUpdateState(FluentState state) => Task.Run(() => _stateCache[state.Key] = state);
internal FluentStateAccessor(FluentState state, int duration = 1000) { _timer = new System.Timers.Timer(duration); Key = state.Key; }