Home / Function/ async_local_storage_unavailable() — svelte Function Reference

async_local_storage_unavailable() — svelte Function Reference

Architecture documentation for the async_local_storage_unavailable() function in errors.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  465b07f8_ba71_ab02_b8d6_cb7e8423d221["async_local_storage_unavailable()"]
  aa72dc21_2f0c_e44b_b27f_dee45869de27["errors.js"]
  465b07f8_ba71_ab02_b8d6_cb7e8423d221 -->|defined in| aa72dc21_2f0c_e44b_b27f_dee45869de27
  eb2eff5c_d275_f195_beec_ce46ba591862["with_render_context()"]
  eb2eff5c_d275_f195_beec_ce46ba591862 -->|calls| 465b07f8_ba71_ab02_b8d6_cb7e8423d221
  style 465b07f8_ba71_ab02_b8d6_cb7e8423d221 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/internal/server/errors.js lines 9–15

export function async_local_storage_unavailable() {
	const error = new Error(`async_local_storage_unavailable\nThe node API \`AsyncLocalStorage\` is not available, but is required to use async server rendering.\nhttps://svelte.dev/e/async_local_storage_unavailable`);

	error.name = 'Svelte error';

	throw error;
}

Domain

Subdomains

Frequently Asked Questions

What does async_local_storage_unavailable() do?
async_local_storage_unavailable() is a function in the svelte codebase, defined in packages/svelte/src/internal/server/errors.js.
Where is async_local_storage_unavailable() defined?
async_local_storage_unavailable() is defined in packages/svelte/src/internal/server/errors.js at line 9.
What calls async_local_storage_unavailable()?
async_local_storage_unavailable() is called by 1 function(s): with_render_context.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free