Skip to main content

ConfigurableMessageStore

A MessageStore that can also be given other services, as createMessageStore returns it. Whoever built the store keeps this type; whatever only reads it takes a MessageStore.

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

Signature​

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

interface ConfigurableMessageStore extends MessageStore

Methods​

setServices​

setServices(services: MessageStoreServices): void;

Reads other services from now on. The catalogue on screen stays until theirs has loaded; with no languages, it is their messages at once. Services that are the same four objects change nothing.

  • services (MessageStoreServices)

See also​

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