recastReady
constrecastReady:Promise<void>
Defined in: packages/engine/src/gameplay/map/navMesh.ts:49
Resolves once recast can be called. Awaiting it is the caller’s job, because the bake below is synchronous: a bake that awaits resumes in a microtask after the commit that asked for it, which spends its cost in a frame rather than in the load the caller is already inside.
One promise for the module, started at import, so the wasm downloads
alongside whatever else a load is fetching. init short-circuits only
once it has resolved, so two callers overlapping while it is still
fetching would each start their own instantiation; this is the promise
they share instead.