Skip to main content

LayerCatalogueControls

What the layer catalogue contract needs besides the catalogue itself.

This is an interface exported by @mapcairn/core/contracts, checked against version 0.2.0.

Signature​

import type { LayerCatalogueControls } from "@mapcairn/core/contracts";

interface LayerCatalogueControls

Properties​

layers​

readonly layers: readonly LayerDefinition[];

The layers the catalogue holds once it is ready, in order. May be empty.

Methods​

settle​

settle(): Promise<void>;

Brings the catalogue to its first ready state and resolves once it is there. A catalogue that starts ready resolves at once. The contract never assumes a state changes, because a static catalogue never does.

See also​

Source: packages/core/src/contracts/layerCatalogue.contract.ts:8