UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

12 lines 386 B
class HealthService { constructor({ featureTypeStore }, { getLogger }) { this.featureTypeStore = featureTypeStore; this.logger = getLogger('services/health-service.ts'); } async dbIsUp() { const row = await this.featureTypeStore.getAll(); return row.length > 0; } } export default HealthService; //# sourceMappingURL=health-service.js.map