Skip to content
1 min read · 96 words

Variable: adk

ts
const adk: AdkShim<AdkNamespace>;

Defined in: src/shims/index.ts:465

The ambient, module-scope AdkShim instance. Delegates to whatever resolver was last passed to registerAdkResolver — resolving before any registration raises E_SHIM_RESOLUTION_FAILED with a cause explaining that no resolver has been registered yet.

Remarks

Use this when many files across a module graph want to share one binding (import adk and read adk.proxy / await adk.resolve() from anywhere) rather than threading a shim instance through every call site. For an independent, separately-resolvable binding — e.g. loading two different bundle versions side by side — construct your own via createAdkShim instead.