API reference › @evolu/sqlite-wasm › createSqliteWasm
function createSqliteWasm(
source: SqliteWasmSource,
): Task<
SqliteWasm,
SqliteWasmError,
ConsoleDep & RandomBytesDep & ReportDefectDep & TimeDep
>;
Defined in: packages/sqlite-wasm/src/Wasm.ts:268
Loads the wasm, following the steps in the module documentation.
Start it as early as possible, in the worker's composition root, and pass the instance to everything else through SqliteWasmDep.