Skip to content

basalt / tenancy/src / isTenantReady

Function: isTenantReady() ​

> isTenantReady(tenant): boolean

Defined in: tenancy/src/tenant.ts:49

True only for a tenant that may serve requests: no status (absent or null) or ready. Every other value — a known non-serving status or one tenancy does not recognise — is false. assertTenantServing says why.

Parameters ​

tenant ​

Tenant

Returns ​

boolean

Released under the MIT License.