Skip to main content

RuntimeLayerCatalogue

A LayerCatalogue that loads its definitions when the app runs.

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

Signature​

import type { RuntimeLayerCatalogue } from "@mapcairn/core";

interface RuntimeLayerCatalogue extends LayerCatalogue

Methods​

dispose​

dispose(): void;

Aborts the signal given to load and ignores anything it still returns, so the state stays as it was: a catalogue that was loading stays loading, and a refresh or subscription afterwards starts no load. For the host's teardown: unsubscribing never calls it.

See also​

Source: packages/core/src/layers/runtimeLayerCatalogue.ts:37