Skip to content

basalt / tenancy/src / assertTenantServing

Function: assertTenantServing() ​

> assertTenantServing(tenant): void

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

Throws the error that describes why tenant cannot serve, or returns when it can. The check the HTTP enricher runs on every resolved tenant:

Parameters ​

tenant ​

Tenant

Returns ​

void

Released under the MIT License.