[API reference](https://evolu.dev/docs/api-reference) › [@evolu/sqlite-wasm](https://evolu.dev/docs/api-reference/sqlite-wasm) › createSqliteWasm

```ts
function createSqliteWasm(
  source: SqliteWasmSource,
): Task<
  SqliteWasm,
  SqliteWasmError,
  ConsoleDep & RandomBytesDep & ReportDefectDep & TimeDep
>;
```

Defined in: [packages/sqlite-wasm/src/Wasm.ts:268](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/sqlite-wasm/src/Wasm.ts#L268)

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](https://evolu.dev/docs/api-reference/sqlite-wasm/interfaces/SqliteWasmDep).