Run fn with store as the active graph for this async context.
This is the server-side entry point: an SSR host wraps each request so that
concurrent renders never share entity state. When the runtime has no
AsyncLocalStorage, fn still runs — under the module-level store — rather
than failing, so isomorphic code does not need a branch.
Run
fnwithstoreas the active graph for this async context.This is the server-side entry point: an SSR host wraps each request so that concurrent renders never share entity state. When the runtime has no
AsyncLocalStorage,fnstill runs — under the module-level store — rather than failing, so isomorphic code does not need a branch.