public void SetHealth(string key, HealthRecord healthRecord) { SetHealthAsync(key, healthRecord).GetAwaiter().GetResult(); }
public async Task SetHealthAsync(string key, HealthRecord healthRecord) { HealthRecords[key] = healthRecord; _aggregateRecord = await InternalIsHealthyAsync(); }