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