LanguageLoad
What useLanguageLoad returns.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { LanguageLoad } from "@mapcairn/map";
interface LanguageLoad
Properties
failed
readonly failed: string | null;
The tag whose messages could not be loaded, while the interface is still in the language before it, or null when no load has failed.
retry
readonly retry: () => void;
Loads the failed language again. It does nothing when none has failed.
retrying
readonly retrying: boolean;
Whether a load of LanguageLoad is under way again.