Bit.Core.Services.InMemoryStorageService.RemoveAsync C# (CSharp) Method

RemoveAsync() public method

public RemoveAsync ( string key ) : Task
key string
return Task
        public Task RemoveAsync(string key)
        {
            if(_dict.ContainsKey(key))
            {
                _dict.Remove(key);
            }
            return Task.FromResult(0);
        }
    }