MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / initWeb

Function initWeb

npm/lean-agentic/src/web.js:18–28  ·  view source on GitHub ↗
(wasmUrl)

Source from the content-addressed store, hash-verified

16 * @returns {Promise<void>}
17 */
18export async function initWeb(wasmUrl) {
19 if (initialized) return;
20
21 if (wasmUrl) {
22 await init(wasmUrl);
23 } else {
24 await init();
25 }
26
27 initialized = true;
28}
29
30/**
31 * LeanDemo - Browser-optimized interface

Callers

nothing calls this directly

Calls 1

initFunction · 0.70

Tested by

no test coverage detected