sercrod

World

What you will find: normative rules for world isolation. This page defines how hosts are grouped by world, how registries are separated, and how cross-world interactions behave. No design commentary is included.

Definitions

World creation and naming

Membership and boundaries

Registries and lookup order

Worlds maintain their own registries. The effective lookup order is:

  1. World registry - entries registered in the current world.
  2. Global layer - implementation defaults visible to all worlds.
  3. Ambient JavaScript - normal name resolution on window or globalThis where applicable.

The following components follow this lookup order:

Implementations may expose registration functions that either target the current world or the global layer. The exact API surface is defined by the runtime.

$parent across worlds

Scheduler independence

Caches and invalidation

Cross-world communication

Errors and protections


Next page: advanced.md