Skip to main content

MessageStoreState

What a MessageStore holds.

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

Signature​

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

interface MessageStoreState

Properties​

failed​

readonly failed: string | null;

The tag whose messages could not be loaded, while messages is still the language before it, or null when no load has failed.

messages​

readonly messages: MessageCatalogue;

The catalogue the interface speaks.

retrying​

readonly retrying: boolean;

Whether a load of MessageStoreState is under way again.

See also​

Source: packages/core/src/messages/messageStore.ts:15