# RuntimeLayerCatalogue

A [`LayerCatalogue`](https://docs.mapcairn.com/api/core/LayerCatalogue.md) that loads its definitions when the app runs.

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

## Signature

```ts
import type { RuntimeLayerCatalogue } from "@mapcairn/core";
 
interface RuntimeLayerCatalogue extends LayerCatalogue
```

## Methods

### dispose

```ts
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

- [`LayerCatalogue`](https://docs.mapcairn.com/api/core/LayerCatalogue.md)

Source: [packages/core/src/layers/runtimeLayerCatalogue.ts:37](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/runtimeLayerCatalogue.ts#L37)
