public static PlayerProcessorConfig getInstance() { if (instance == null) { try { instance = readCloud().Result; } catch (Exception) { _log.Error(string.Format("PlayerProcessorConfig not found at {0}\n", ConfigKey)); instance = new PlayerProcessorConfig(); } } return(instance); }
public async Task <PlayerProcessorConfig> refresh() { instance = await readCloud(); return(instance); }