function loadCurrencyCode
loadCurrencyCode(): Promise<string>

Load currency code from settings into sync-accessible state. Called once per request in routes/index.ts before templates render. Settings are already cached so this is cheap on repeat calls.

Return Type

Promise<string>

Usage

import { loadCurrencyCode } from "doc.ts";