Home / Function/ observe_all() — svelte Function Reference

observe_all() — svelte Function Reference

Architecture documentation for the observe_all() function in lifecycle.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  1f8c1534_1166_5d5a_e3b0_cb3660ea11bf["observe_all()"]
  309b6da7_c79b_4906_049d_a61ee844e1d7["lifecycle.js"]
  1f8c1534_1166_5d5a_e3b0_cb3660ea11bf -->|defined in| 309b6da7_c79b_4906_049d_a61ee844e1d7
  2bef4c90_800a_61a0_724e_32f34a823482["init()"]
  2bef4c90_800a_61a0_724e_32f34a823482 -->|calls| 1f8c1534_1166_5d5a_e3b0_cb3660ea11bf
  a08b6cc5_af73_1be4_d02f_3113cf8a8305["get()"]
  1f8c1534_1166_5d5a_e3b0_cb3660ea11bf -->|calls| a08b6cc5_af73_1be4_d02f_3113cf8a8305
  style 1f8c1534_1166_5d5a_e3b0_cb3660ea11bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/internal/client/dom/legacy/lifecycle.js lines 76–82

function observe_all(context, props) {
	if (context.l.s) {
		for (const signal of context.l.s) get(signal);
	}

	props();
}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does observe_all() do?
observe_all() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/dom/legacy/lifecycle.js.
Where is observe_all() defined?
observe_all() is defined in packages/svelte/src/internal/client/dom/legacy/lifecycle.js at line 76.
What does observe_all() call?
observe_all() calls 1 function(s): get.
What calls observe_all()?
observe_all() is called by 1 function(s): init.

Analyze Your Own Codebase

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

Try Supermodel Free