Skip to content

Both copy text to your clipboard — Build with AI copies a setup prompt to paste into Claude Code, Cursor, Codex or Copilot; Copy page as Markdown copies this page to paste into a chat. How it works

clearPrewarmedResources()

clearPrewarmedResources(): void

Defined in: src/util/global_worker_pool.ts:54

Clears up resources that have previously been created by prewarm(). Note that this is typically not necessary. You should only call this function if you expect the user of your app to not return to a Map view at any point in your application.

Returns

void

Example

ts
clearPrewarmedResources()