Appearance
nepali-calendar-engine / ensurePanchangYear
Function: ensurePanchangYear()
ensurePanchangYear(
bsYear):Promise<void>
Defined in: panchang/panchang-lookup.ts:69
Pre-loads panchang data for a given BS year into the in-memory cache. Call this once before rendering a calendar month to avoid async gaps. Safe to call multiple times — subsequent calls for the same year are no-ops.
Parameters
bsYear
number
Returns
Promise<void>